package com.xbongbong.pro.enums.permission.enums;

import com.xbongbong.i18n.util.I18nMessageUtil;
import com.xbongbong.saas.enums.XbbRefTypeEnum;
import lombok.Getter;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/4/23 19:35
 * @since v1.0
 */
@Getter
public enum ProPermissionAliasEnum {

    /**
     * tb_pro_promission对应的alias字段
     */
    CRM("CRM", "enum.proPermissionAlias.memo.crm"),

    CUSTOMER_MANAGEMENT("customerManagement", "enum.proPermissionAlias.memo.customer_management"),

    CONTACT("contact", "enum.proPermissionAlias.memo.contact"),

    SALES_OPPORTUNITY("salesOpportunity", "enum.proPermissionAlias.memo.sales_opportunity"),

    CONTRACT("contract", "enum.proPermissionAlias.memo.contract"),

    PAYMENT("payment", "enum.proPermissionAlias.memo.payment"),

    PRODUCT_MANAGEMENT("productManagement", "enum.proPermissionAlias.memo.product_management"),

    SIGN_IN("signIn", "enum.proPermissionAlias.memo.sign_in"),

    WORK_REPORT("workReport", "enum.proPermissionAlias.memo.work_report"),

    CUSTOMER_COMMUNICATE_VIEW("customerCommunicateView", "enum.proPermissionAlias.memo.customer_communicate_view"),

    CUSTOMER_COMMUNICATE_ADD("customerCommunicateAdd", "enum.proPermissionAlias.memo.customer_communicate_add"),

    ORGANIZATION("organization", "enum.proPermissionAlias.memo.organization"),

    PERFORMANCE_OBJECT_SET("performanceObjectSet", "enum.proPermissionAlias.memo.performance_object_set"),

    SIGN_IN_STATISTIC("signInStatistic", "enum.proPermissionAlias.memo.sign_in_statistic"),

    CONTACT_VIEW("contactView", "enum.proPermissionAlias.memo.contact_view"),

    OPPORTUNITY_ADD("opportunityAdd", "enum.proPermissionAlias.memo.opportunity_add"),

    OPPORTUNITY_UPDATE("opportunityUpdate", "enum.proPermissionAlias.memo.opportunity_update"),

    CUSTOMER_ADD("customerAdd", "enum.proPermissionAlias.memo.customer_add"),

    CONTACT_ADD("contactAdd", "enum.proPermissionAlias.memo.contact_add"),

    CONTRACT_ADD("contractAdd", "enum.proPermissionAlias.memo.contract_add"),

    CONTRACT_UPDATE("contractUpdate", "enum.proPermissionAlias.memo.contract_update"),

    CONTRACT_ENABLE("contractEnable","合同订单启用"),

    CONTRACT_UNABLE("contractUnable","合同订单关闭"),

    CONTACT_UPDATE("contactUpdate", "enum.proPermissionAlias.memo.contact_update"),

    CUSTOMER_UPDATE("customerUpdate", "enum.proPermissionAlias.memo.customer_update"),

    ROLE_PERMISSION("rolePermission", "enum.proPermissionAlias.memo.role_permission"),

    SYSTEM_LABEL("systemLabel", "enum.proPermissionAlias.memo.system_label"),

    OPPORTUNITY_PRINT("opportunityPrint", "enum.proPermissionAlias.memo.opportunity_print"),

    WORK_REPORT_ADD("workReportAdd", "enum.proPermissionAlias.memo.work_report_add"),

    WORK_REPORT_UPDATE("workReportUpdate", "enum.proPermissionAlias.memo.work_report_update"),

    WORK_REPORT_DELETE("workReportDelete", "enum.proPermissionAlias.memo.work_report_delete"),

    CUSTOMER_IMPORT("customerImport", "enum.proPermissionAlias.memo.customer_import"),

    OPPORTUNITY_IMPORT("opportunityImport", "enum.proPermissionAlias.memo.opportunity_import"),

    CONTRACT_IMPORT("contractImport", "enum.proPermissionAlias.memo.contract_import"),

    CUSTOMER_DELETE("customerDelete", "enum.proPermissionAlias.memo.customer_delete"),

    CONTACT_DELETE("contactDelete", "enum.proPermissionAlias.memo.contact_delete"),

    OPPORTUNITY_DELETE("opportunityDelete", "enum.proPermissionAlias.memo.opportunity_delete"),

    CONTRACT_DELETE("contractDelete", "enum.proPermissionAlias.memo.contract_delete"),

    CUSTOMER_EXPORT("customerExport", "enum.proPermissionAlias.memo.customer_export"),

    OPPORTUNITY_EXPORT("opportunityExport", "enum.proPermissionAlias.memo.opportunity_export"),

    CONTRACT_EXPORT("contractExport", "enum.proPermissionAlias.memo.contract_export"),

    CUSTOMER_RECYCLE("customerRecycle", "enum.proPermissionAlias.memo.customer_recycle"),

    CUSTOMER_DISTRIBUTION("customerDistribution", "enum.proPermissionAlias.memo.customer_distribution"),

    CUSTOMER_GAIN("customerGain", "enum.proPermissionAlias.memo.customer_gain"),

    PUBLIC_SET("publicSet", "enum.proPermissionAlias.memo.public_set"),

    COMMUNICATE_PLAN("communicatePlan", "enum.proPermissionAlias.memo.communicate_plan"),

    CUSTOMER_VIEW("customerView", "enum.proPermissionAlias.memo.customer_view"),

    CUSTOMER_PUBLIC("customerPublic", "enum.proPermissionAlias.memo.customer_public"),

    CUSTOMER_REPEAT_JOIN_TEAM("customerRepeatJoinTeam", "enum.proPermissionAlias.memo.customer_repeat_join_team"),

    CONTACT_REPEAT_JOIN_TEAM("contactRepeatJoinTeam", "enum.proPermissionAlias.memo.contact_repeat_join_team"),

    OPPORTUNITY_REPEAT_JOIN_TEAM("opportunityRepeatJoinTeam", "enum.proPermissionAlias.memo.opportunity_repeat_join_team"),

    PAYMENT_UPDATE("paymentUpdate", "enum.proPermissionAlias.memo.payment_update"),

    CUSTOMER_COMMUNICATE("customerCommunicate", "enum.proPermissionAlias.memo.customer_communicate"),

    BUSINESS_CARD("businessCard", "enum.proPermissionAlias.memo.business_card"),

    PRODUCT_IMPORT("productImport", "enum.proPermissionAlias.memo.product_import"),

    PRODUCT_EXPORT("productExport", "enum.proPermissionAlias.memo.product_export"),

    PAYMENT_EXPORT("paymentExport", "enum.proPermissionAlias.memo.payment_export"),

    PAYMENT_IMPORT("paymentImport", "enum.proPermissionAlias.memo.payment_import"),

    CUSTOMER_COMMUNICATE_EXPORT("customerCommunicateExport", "enum.proPermissionAlias.memo.customer_communicate_export"),

    CUSTOMER_COMMUNICATE_DELETE("customerCommunicateDelete", "enum.proPermissionAlias.memo.customer_communicate_delete"),

    LOG_VIEW("logView", "enum.proPermissionAlias.memo.log_view"),

    CUSTOMER_COMMUNICATE_IMPORT("customerCommunicateImport", "enum.proPermissionAlias.memo.customer_communicate_import"),

    PUSH_SET("pushSet", "enum.proPermissionAlias.memo.push_set"),

    OPPORTUNITY_VIEW("opportunityView", "enum.proPermissionAlias.memo.opportunity_view"),

    SIGN_IN_VIEW("signInView", "enum.proPermissionAlias.memo.sign_in_view"),

    SMS("sms", "enum.proPermissionAlias.memo.sms"),

    SMS_VIEW("smsView", "enum.proPermissionAlias.memo.sms_view"),

    SMS_SET("smsSet", "enum.proPermissionAlias.memo.sms_set"),

    SMS_SEND("smsSend", "enum.proPermissionAlias.memo.sms_send"),

    SIGN_IN_SET("signInSet", "enum.proPermissionAlias.memo.sign_in_set"),

    CUSTOMER_NEARBY("customerNearby", "enum.proPermissionAlias.memo.customer_nearby"),

    SFA("SFA", "enum.proPermissionAlias.memo.sfa"),

    PURCHASE("purchase", "enum.proPermissionAlias.memo.purchase"),

    SUPPLIER("supplier", "enum.proPermissionAlias.memo.supplier"),

    PAY_PLAN("payPlan", "enum.proPermissionAlias.memo.pay_plan"),

    INSTOCK("instock", "enum.proPermissionAlias.memo.instock"),

    OUTSTOCK("outstock", "enum.proPermissionAlias.memo.outstock"),

    INVENTORY("inventory", "enum.proPermissionAlias.memo.inventory"),

    TRANSFER("transfer", "enum.proPermissionAlias.memo.transfer"),

    WAREHOUSE("warehouse", "enum.proPermissionAlias.memo.warehouse"),

    STOCK_SEARCH("stockSearch", "enum.proPermissionAlias.memo.stock_search"),

    STOCK_FLOW_BILL_EXPORT("stockFlowBillExport", "enum.proPermissionAlias.memo.stock_flow_bill_export"),

    STOCK_FLOW_BILL_VIEW("stockFlowBillView", "enum.proPermissionAlias.memo.stock_flow_bill_view"),

    STOCK_STANDING_BOOK_EXPORT("stockStandingBookExport", "enum.proPermissionAlias.memo.stock_standing_book_export"),

    STOCK_STANDING_BOOK_VIEW("stockStandingBookView", "enum.proPermissionAlias.memo.stock_standing_book_view"),

    RETURNED_PURCHASE("returnedPurchase", "enum.proPermissionAlias.memo.returned_purchase"),

    PURCHASE_ADD("purchaseAdd", "enum.proPermissionAlias.memo.purchase_add"),

    PURCHASE_UPDATE("purchaseUpdate", "enum.proPermissionAlias.memo.purchase_update"),

    PURCHASE_DELETE("purchaseDelete", "enum.proPermissionAlias.memo.purchase_delete"),

    PURCHASE_VIEW("purchaseView", "enum.proPermissionAlias.memo.purchase_view"),

    PURCHASE_ENABLE("purchaseEnable","采购合同启用"),

    PURCHASE_UNABLE("purchaseUnable","采购合同关闭"),

    PURCHASE_ESIGN("purchaseEsign", "enum.proPermissionAlias.memo.purchase_esign"),

    SUPPLIER_ADD("supplierAdd", "enum.proPermissionAlias.memo.supplier_add"),

    SUPPLIER_UPDATE("supplierUpdate", "enum.proPermissionAlias.memo.supplier_update"),

    SUPPLIER_DELETE("supplierDelete", "enum.proPermissionAlias.memo.supplier_delete"),

    SUPPLIER_VIEW("supplierView", "enum.proPermissionAlias.memo.supplier_view"),

    INSTOCK_ADD("instockAdd", "enum.proPermissionAlias.memo.instock_add"),

    INSTOCK_UPDATE("instockUpdate", "enum.proPermissionAlias.memo.instock_update"),

    INSTOCK_DELETE("instockDelete", "enum.proPermissionAlias.memo.instock_delete"),

    INSTOCK_VIEW("instockView", "enum.proPermissionAlias.memo.instock_view"),

    OUTSTOCK_ADD("outstockAdd", "enum.proPermissionAlias.memo.outstock_add"),

    OUTSTOCK_UPDATE("outstockUpdate", "enum.proPermissionAlias.memo.outstock_update"),

    OUTSTOCK_DELETE("outstockDelete", "enum.proPermissionAlias.memo.outstock_delete"),

    OUTSTOCK_VIEW("outstockView", "enum.proPermissionAlias.memo.outstock_view"),

    INVENTORY_ADD("inventoryAdd", "enum.proPermissionAlias.memo.inventory_add"),

    INVENTORY_UPDATE("inventoryUpdate", "enum.proPermissionAlias.memo.inventory_update"),

    INVENTORY_DELETE("inventoryDelete", "enum.proPermissionAlias.memo.inventory_delete"),

    INVENTORY_VIEW("inventoryView", "enum.proPermissionAlias.memo.inventory_view"),

    TRANSFER_ADD("transferAdd", "enum.proPermissionAlias.memo.transfer_add"),

    TRANSFER_UPDATE("transferUpdate", "enum.proPermissionAlias.memo.transfer_update"),

    TRANSFER_DELETE("transferDelete", "enum.proPermissionAlias.memo.transfer_delete"),

    TRANSFER_VIEW("transferView", "enum.proPermissionAlias.memo.transfer_view"),

    TRANSFER_ENABLE("transferEnable","调拨单启用"),

    TRANSFER_UNABLE("transferUnable","调拨单关闭"),

    WAREHOUSE_ADD("warehouseAdd", "enum.proPermissionAlias.memo.warehouse_add"),

    WAREHOUSE_UPDATE("warehouseUpdate", "enum.proPermissionAlias.memo.warehouse_update"),

    WAREHOUSE_DELETE("warehouseDelete", "enum.proPermissionAlias.memo.warehouse_delete"),

    WAREHOUSE_VIEW("warehouseView", "enum.proPermissionAlias.memo.warehouse_view"),

    //仓库移交
    WAREHOUSE_HANDOVER("warehouseHandover","enum.proPermissionAlias.memo.warehouse_handover"),

    RETURN_PURCHASE_ADD("returnPurchaseAdd", "enum.proPermissionAlias.memo.return_purchase_add"),

    RETURN_PURCHASE_UPDATE("returnPurchaseUpdate", "enum.proPermissionAlias.memo.return_purchase_update"),

    RETURN_PURCHASE_DELETE("returnPurchaseDelete", "enum.proPermissionAlias.memo.return_purchase_delete"),

    RETURN_PURCHASE_VIEW("returnPurchaseView", "enum.proPermissionAlias.memo.return_purchase_view"),

    RETURN_PURCHASE_ENABLE("returnPurchaseEnable","采购退货启用"),

    RETURN_PURCHASE_UNABLE("returnPurchaseUnable","采购退货关闭"),

    CUSTOMER_DUPLICATE("customerDuplicate", "enum.proPermissionAlias.memo.customer_duplicate"),

    CONTACT_DUPLICATE("contactDuplicate", "enum.proPermissionAlias.memo.contact_duplicate"),

    OPPORTUNITY_DUPLICATE("opportunityDuplicate", "enum.proPermissionAlias.memo.opportunity_duplicate"),

    FUND_MANAGEMENT("fundManagement", "enum.proPermissionAlias.memo.fund_management"),

    FUND_ACCOUNT("fundAccount", "enum.proPermissionAlias.memo.fund_account"),

    FUND_SET("fundSet", "enum.proPermissionAlias.memo.fund_set"),

    PAY_PLAN_UPDATE("payPlanUpdate", "enum.proPermissionAlias.memo.pay_plan_update"),

    PAY_PLAN_PRINT("payPlanPrint","enum.proPermissionAlias.memo.pay_plan_print"),

    MODULE_CENTER("moduleCenter", "enum.proPermissionAlias.memo.module_center"),

    SUPPLIER_IMPORT("supplierImport", "enum.proPermissionAlias.memo.supplier_import"),

    SUPPLIER_EXPORT("supplierExport", "enum.proPermissionAlias.memo.supplier_export"),

    INSTOCK_IMPORT("instockImport", "enum.proPermissionAlias.memo.instock_import"),

    INSTOCK_EXPORT("instockExport", "enum.proPermissionAlias.memo.instock_export"),

    OUTSTOCK_IMPORT("outstockImport", "enum.proPermissionAlias.memo.outstock_import"),

    OUTSTOCK_EXPORT("outstockExport", "enum.proPermissionAlias.memo.outstock_export"),

    PURCHASE_IMPORT("purchaseImport", "enum.proPermissionAlias.memo.purchase_import"),

    PURCHASE_EXPORT("purchaseExport", "enum.proPermissionAlias.memo.purchase_export"),

    ASSEMBLE("assemble", "enum.proPermissionAlias.memo.assemble"),

    ASSEMBLE_ADD("assembleAdd", "enum.proPermissionAlias.memo.assemble_add"),

    ASSEMBLE_UPDATE("assembleUpdate", "enum.proPermissionAlias.memo.assemble_update"),

    ASSEMBLE_DELETE("assembleDelete", "enum.proPermissionAlias.memo.assemble_delete"),

    ASSEMBLE_VIEW("assembleView", "enum.proPermissionAlias.memo.assemble_view"),

    ASSEMBLE_IMPORT("assembleImport", "enum.proPermissionAlias.memo.assemble_import"),

    ASSEMBLE_EXPORT("assembleExport", "enum.proPermissionAlias.memo.assemble_export"),

    INVENTORY_IMPORT("inventoryImport", "enum.proPermissionAlias.memo.inventory_import"),

    INVENTORY_EXPORT("inventoryExport", "enum.proPermissionAlias.memo.inventory_export"),

    TRANSFER_IMPORT("transferImport", "enum.proPermissionAlias.memo.transfer_import"),

    TRANSFER_EXPORT("transferExport", "enum.proPermissionAlias.memo.transfer_export"),

    RETURN_PURCHASE_IMPORT("returnPurchaseImport", "enum.proPermissionAlias.memo.return_purchase_import"),

    RETURN_PURCHASE_EXPORT("returnPurchaseExport", "enum.proPermissionAlias.memo.return_purchase_export"),

    CUSTOMER_HANDOVER("customerHandover", "enum.proPermissionAlias.memo.customer_handover"),

    OPPORTUNITY_HANDOVER("opportunityHandover", "enum.proPermissionAlias.memo.opportunity_handover"),

    REFUND_HANDOVER("refundHandover", "enum.proPermissionAlias.memo.refund_handover"),

    CONTRACT_HANDOVER("contractHandover", "enum.proPermissionAlias.memo.contract_handover"),

    QUOTATION_HANDOVER("quotationHandover", "enum.proPermissionAlias.memo.quotation_handover"),

    SUPPLIER_HANDOVER("supplierHandover", "enum.proPermissionAlias.memo.supplier_handover"),

    PURCHASE_HANDOVER("purchaseHandover", "enum.proPermissionAlias.memo.purchase_handover"),

    BOMBILL_HANDOVER("bombillHandover", "enum.proPermissionAlias.memo.bombill_handover"),

    PRODUCTION_ORDER_HANDOVER("productionOrderHandover", "enum.proPermissionAlias.memo.production_order_handover"),

    RETURNED_PURCHASE_HANDOVER("returnedPurchaseHandover", "enum.proPermissionAlias.memo.returned_purchase_handover"),

    ASSEMBLE_HANDOVER("assembleHandover", "enum.proPermissionAlias.memo.assemble_handover"),

    INSTOCK_HANDOVER("instockHandover", "enum.proPermissionAlias.memo.instock_handover"),
    PURCHASE_INSTOCK_HANDOVER("purchaseInstockHandover", "enum.proPermissionAlias.memo.purchase_instock_handover"),
    REFUND_INSTOCK_HANDOVER("refundInstockHandover", "enum.proPermissionAlias.memo.refund_instock_handover"),
    PRODUCTION_INSTOCK_HANDOVER("productionInstockHandover", "enum.proPermissionAlias.memo.production_instock_handover"),
    RETURNED_MATERIEL_INSTOCK_HANDOVER("returnMaterielInstockHandover", "enum.proPermissionAlias.memo.returned_materiel_instock_handover"),

    OUTSTOCK_HANDOVER("outstockHandover", "enum.proPermissionAlias.memo.outstock_handover"),
    CONTRACT_OUTSTOCK_HANDOVER("contractOutstockHandover", "enum.proPermissionAlias.memo.contract_outstock_handover"),
    RETURNED_PURCHASE_OUTSTOCK_HANDOVER("returnPurchaseOutstockHandover", "enum.proPermissionAlias.memo.returned_purchase_outstock_handover"),
    PRODUCTION_MATERIEL_OUTSTOCK_HANDOVER("proMaterielOutstockHandover", "enum.proPermissionAlias.memo.production_materiel_outstock_handover"),
    WORK_ORDER_OUTSTOCK_HANDOVER("workOrderOutstockHandover", "enum.proPermissionAlias.memo.work_order_outstock_handover"),

    TRANSFER_HANDOVER("transferHandover", "enum.proPermissionAlias.memo.transfer_handover"),

    INVENTORY_HANDOVER("inventoryHandover", "enum.proPermissionAlias.memo.inventory_handover"),

    CUSTOMER_BACK("customerBack", "enum.proPermissionAlias.memo.customer_back"),

    PK_SET("pkSet", "enum.proPermissionAlias.memo.pk_set"),

    INVOICE("invoice", "enum.proPermissionAlias.memo.invoice"),

    INVOICE_ADD("invoiceAdd", "enum.proPermissionAlias.memo.invoice_add"),

    INVOICE_UPDATE("invoiceUpdate", "enum.proPermissionAlias.memo.invoice_update"),

    INVOICE_DELETE("invoiceDelete", "enum.proPermissionAlias.memo.invoice_delete"),

    INVOICE_CANCEL("invoiceCancel", "enum.proPermissionAlias.memo.invoice_cancel"),

    INVOICE_PRINT("invoicePrint", "enum.proPermissionAlias.memo.invoice_print"),

    //发票关联合同
    INVOICE_LINK_CONTRACT("invoiceLinkContract","enum.proPermissionAlias.memo.invoice_linkContract"),

    CUSTOMER_INVOICE_UPDATE("customerInvoiceUpdate", "enum.proPermissionAlias.memo.customer_invoice_update"),

    CUSTOMER_INVOICE_EXPRESS("customerInvoiceExpress", "enum.proPermissionAlias.memo.customer_invoice_express"),

    INVOICE_IMPORT("invoiceImport", "enum.proPermissionAlias.memo.invoice_import"),

    INVOICE_EXPORT("invoiceExport", "enum.proPermissionAlias.memo.invoice_export"),

    PURCHASE_INVOICE("purchaseInvoice","enum.propermissionalias.memo.purchase_invoice"),

    PURCHASE_INVOICE_VIEW("purchaseInvoiceView","enum.propermissionalias.memo.purchase_invoice_view"),

    PURCHASE_INVOICE_ADD("purchaseInvoiceAdd","enum.propermissionalias.memo.purchase_invoice_add"),

    PURCHASE_INVOICE_UPDATE("purchaseInvoiceUpdate","enum.propermissionalias.memo.purchase_invoice_update"),

    PURCHASE_INVOICE_DELETE("purchaseInvoiceDelete","enum.propermissionalias.memo.purchase_invoice_delete"),

    PURCHASE_INVOICE_CANCEL("purchaseInvoiceCancel","enum.propermissionalias.memo.purchase_invoice_cancel"),

    PURCHASE_INVOICE_PRINT("purchaseInvoicePrint","enum.propermissionalias.memo.purchase_invoice_print"),

    PURCHASE_INVOICE_RED("purchaseInvoiceRed","enum.propermissionalias.memo.purchase_invoice_red"),

    PURCHASE_INVOICE_IMPORT("purchaseInvoiceImport","enum.propermissionalias.memo.purchase_invoice_import"),

    PURCHASE_INVOICE_EXPORT("purchaseInvoiceExport","enum.propermissionalias.memo.purchase_invoice_export"),

    OTHER_INCOME("otherIncome","enum.proPermissionAlias.memo.other_income"),

    OTHER_INCOME_VIEW("otherIncomeView","enum.proPermissionAlias.memo.other_income_view"),

    OTHER_INCOME_ADD("otherIncomeAdd","enum.proPermissionAlias.memo.other_income_add"),

    OTHER_INCOME_UPDATE("otherIncomeUpdate","enum.proPermissionAlias.memo.other_income_update"),

    OTHER_INCOME_PRINT("otherIncomePrint","enum.proPermissionAlias.memo.other_income_print"),

    OTHER_INCOME_RED("otherIncomeRed","enum.proPermissionAlias.memo.other_income_red"),

    OTHER_INCOME_IMPORT("otherIncomeImport","enum.proPermissionAlias.memo.other_income_import"),

    OTHER_INCOME_EXPORT("otherIncomeExport","enum.proPermissionAlias.memo.other_income_export"),

    OTHER_EXPENSE("otherExpense","enum.proPermissionAlias.memo.other_expense"),

    OTHER_EXPENSE_VIEW("otherExpenseView","enum.proPermissionAlias.memo.other_expense_view"),

    OTHER_EXPENSE_ADD("otherExpenseAdd","enum.proPermissionAlias.memo.other_expense_add"),

    OTHER_EXPENSE_UPDATE("otherExpenseUpdate","enum.proPermissionAlias.memo.other_expense_update"),

    OTHER_EXPENSE_PRINT("otherExpensePrint","enum.proPermissionAlias.memo.other_expense_print"),

    OTHER_EXPENSE_RED("otherExpenseRed","enum.proPermissionAlias.memo.other_expense_red"),

    OTHER_EXPENSE_IMPORT("otherExpenseImport","enum.proPermissionAlias.memo.other_expense_import"),

    OTHER_EXPENSE_EXPORT("otherExpenseExport","enum.proPermissionAlias.memo.other_expense_export"),

    FUND_TRANSFER("fundTransfer","enum.proPermissionAlias.memo.fund_transfer"),

    FUND_TRANSFER_VIEW("fundTransferView","enum.proPermissionAlias.memo.fund_transfer_view"),

    FUND_TRANSFER_ADD("fundTransferAdd","enum.proPermissionAlias.memo.fund_transfer_add"),

    FUND_TRANSFER_UPDATE("fundTransferUpdate","enum.proPermissionAlias.memo.fund_transfer_update"),

    FUND_TRANSFER_PRINT("fundTransferPrint","enum.proPermissionAlias.memo.fund_transfer_print"),

    FUND_TRANSFER_IMPORT("fundTransferImport","enum.proPermissionAlias.memo.fund_transfer_import"),

    FUND_TRANSFER_EXPORT("fundTransferExport","enum.proPermissionAlias.memo.fund_transfer_export"),

    WORK_REPORT_SET("workReportSet", "enum.proPermissionAlias.memo.work_report_set"),

    PUBLIC_GROUP_SET("publicGroupSet", "enum.proPermissionAlias.memo.public_group_set"),

    WORK_REPORT_EXPORT("workReportExport", "enum.proPermissionAlias.memo.work_report_export"),

    WORK_REPORT_STATISTIC("workReportStatistic", "enum.proPermissionAlias.memo.work_report_statistic"),

    REFUND("refund", "enum.proPermissionAlias.memo.refund"),

    REFUND_VIEW("refundView", "enum.proPermissionAlias.memo.refund_view"),

    RELEVANCE_PURCHASE_VIEW("relevancePurchaseView", "enum.proPermissionAlias.memo.relevance_purchase_view"),

    REFUND_ADD("refundAdd", "enum.proPermissionAlias.memo.refund_add"),

    REFUND_EDIT("refundEdit", "enum.proPermissionAlias.memo.refund_edit"),

    REFUND_DEL("refundDel", "enum.proPermissionAlias.memo.refund_del"),

    REFUND_IMPORT("refundImport", "enum.proPermissionAlias.memo.refund_import"),

    REFUND_EXPORT("refundExport", "enum.proPermissionAlias.memo.refund_export"),

    REFUND_PRINT("refundPrint", "enum.proPermissionAlias.memo.refund_print"),

    REFUND_ENABLE("refundEnable","退货退款启用"),

    REFUND_UNABLE("refundUnable","退货退款关闭"),

    WORK_ORDER("workOrder", "enum.proPermissionAlias.memo.work_order"),

    WORK_ORDER_ADD("workOrderAdd", "enum.proPermissionAlias.memo.work_order_add"),

    WORK_ORDER_UPDATE("workOrderUpdate", "enum.proPermissionAlias.memo.work_order_update"),

    WORK_ORDER_DELETE("workOrderDelete", "enum.proPermissionAlias.memo.work_order_delete"),

    WORK_ORDER_RATE("workOrderRate", "enum.proPermissionAlias.memo.work_order_rate"),

    WORK_ORDER_TEMPLATE("workOrderTemplate", "enum.proPermissionAlias.memo.work_order_template"),

    WORK_ORDER_PERSON("workOrderPerson", "enum.proPermissionAlias.memo.work_order_person"),

    WORK_ORDER_EXPORT("workOrderExport", "enum.proPermissionAlias.memo.work_order_export"),

    WORK_ORDER_FINISHED_EDIT("workOrderFinishedEdit","enum.proPermissionAlias.memo.work_order_finished_edit"),

    PRINT_TEMPLATE("printTemplate", "enum.proPermissionAlias.memo.print_template"),

    INVOICE_RED("invoiceRed", "enum.proPermissionAlias.memo.invoice_red"),

    PAYMENT_RED("paymentRed", "enum.proPermissionAlias.memo.payment_red"),

    RED_RECEIVABLES("redReceivables","enum.proPermissionAlias.memo.red_receivables"),

    PAYMENT_BAD("paymentBad", "enum.proPermissionAlias.memo.payment_bad"),

    PAYMENT_DELETE("paymentDelete", "enum.proPermissionAlias.memo.payment_delete"),

    PAYMENT_PRINT("paymentPrint", "enum.proPermissionAlias.memo.payment_print"),

    PAYMENT_WRITE_OFF("paymentWriteOff", "enum.proPermissionAlias.memo.payment_write_off"),

    CUSTOMER_COMMUNICATE_UPDATE("customerCommunicateUpdate", "enum.proPermissionAlias.memo.customer_communicate_update"),

    COMMUNICATE_PLAN_EXPORT("communicatePlanExport", "enum.proPermissionAlias.memo.communicate_plan_export"),

    BOM_BILL("bomBill", "enum.proPermissionAlias.memo.bom_bill"),

    SIMULATED_PRODUCTION("simulatedProduction", "enum.proPermissionAlias.memo.simulated_production"),

    PRODUCTION_ORDER("productionOrder", "enum.proPermissionAlias.memo.production_order"),

    BOM_BILL_ADD("bomBillAdd", "enum.proPermissionAlias.memo.bom_bill_add"),

    BOM_BILL_UPDATE("bomBillUpdate", "enum.proPermissionAlias.memo.bom_bill_update"),

    BOM_BILL_DELETE("bomBillDelete", "enum.proPermissionAlias.memo.bom_bill_delete"),

    BOM_BILL_VIEW("bomBillView", "enum.proPermissionAlias.memo.bom_bill_view"),

    BOM_BILL_IMPORT("bomBillImport", "enum.proPermissionAlias.memo.bom_bill_import"),

    BOM_BILL_EXPORT("bomBillExport", "enum.proPermissionAlias.memo.bom_bill_export"),

    PRODUCTION_ORDER_ADD("productionOrderAdd", "enum.proPermissionAlias.memo.production_order_add"),

    PRODUCTION_ORDER_UPDATE("productionOrderUpdate", "enum.proPermissionAlias.memo.production_order_update"),

    PRODUCTION_ORDER_DELETE("productionOrderDelete", "enum.proPermissionAlias.memo.production_order_delete"),

    PRODUCTION_ORDER_VIEW("productionOrderView", "enum.proPermissionAlias.memo.production_order_view"),

    PRODUCTION_ORDER_IMPORT("productionOrderImport", "enum.proPermissionAlias.memo.production_order_import"),

    PRODUCTION_ORDER_EXPORT("productionOrderExport", "enum.proPermissionAlias.memo.production_order_export"),

    PERFORMANCE_SET("performanceSet", "enum.proPermissionAlias.memo.performance_set"),

    STOCK_SEARCH_EXPORT("stockSearchExport", "enum.proPermissionAlias.memo.stock_search_export"),

    COMMUNICATE_PLAN_VIEW("communicatePlanView", "enum.proPermissionAlias.memo.communicate_plan_view"),

    COMMUNICATE_PLAN_ADD("communicatePlanAdd", "enum.proPermissionAlias.memo.communicate_plan_add"),

    COMMUNICATE_PLAN_UPDATE("communicatePlanUpdate", "enum.proPermissionAlias.memo.communicate_plan_update"),

    COMMUNICATE_PLAN_DELETE("communicatePlanDelete", "enum.proPermissionAlias.memo.communicate_plan_delete"),

    CONTRACT_VIEW("contractView", "enum.proPermissionAlias.memo.contract_view"),

    CONTRACT_PRINT("contractPrint", "enum.proPermissionAlias.memo.contract_print"),

    SIGN_IN_EXPORT("signInExport", "enum.proPermissionAlias.memo.sign_in_export"),

    WORK_REPORT_VIEW("workReportView", "enum.proPermissionAlias.memo.work_report_view"),

    WORK_REPORT_PRINT("workReportPrint", "enum.proPermissionAlias.memo.work_report_print"),

    JXC("JXC", "enum.proPermissionAlias.memo.jxc"),

    PURCHASE_PRINT("purchasePrint", "enum.proPermissionAlias.memo.purchase_print"),

    RETURN_PURCHASE_PRINT("returnPurchasePrint", "enum.proPermissionAlias.memo.return_purchase_print"),

    ASSEMBLE_PRINT("assemblePrint", "enum.proPermissionAlias.memo.assemble_print"),

    INSTOCK_PRINT("instockPrint", "enum.proPermissionAlias.memo.instock_print"),

    OUTSTOCK_PRINT("outstockPrint", "enum.proPermissionAlias.memo.outstock_print"),

    INVENTORY_PRINT("inventoryPrint", "enum.proPermissionAlias.memo.inventory_print"),

    OMS_SET("OMSSet", "enum.proPermissionAlias.memo.oms_set"),

    OMS_STORE("OMSStore", "enum.proPermissionAlias.memo.oms_store"),

    OMS_AUTO_PUSH("OMSAutoPush", "enum.proPermissionAlias.memo.oms_auto_push"),

    OMS_AUTO_ADD_SET("OMSAutoAddSet", "enum.proPermissionAlias.memo.oms_auto_add_set"),

    OMS_AUTO_STOCK_JOUR("OMSAutoStockJour", "enum.proPermissionAlias.memo.oms_auto_stock_jour"),

    TRANSFER_PRINT("transferPrint", "enum.proPermissionAlias.memo.transfer_print"),

    STOCK_SEARCH_VIEW("stockSearchView", "enum.proPermissionAlias.memo.stock_search_view"),

    BOM_BILL_PRINT("bomBillPrint", "enum.proPermissionAlias.memo.bom_bill_print"),

    PRODUCTION_ORDER_PRINT("productionOrderPrint", "enum.proPermissionAlias.memo.production_order_print"),

    PRODUCT("product", "enum.proPermissionAlias.memo.product"),

    PRODUCT_VIEW("productView", "enum.proPermissionAlias.memo.product_view"),

    PRODUCT_ADD("productAdd", "enum.proPermissionAlias.memo.product_add"),

    PRODUCT_UPDATE("productUpdate", "enum.proPermissionAlias.memo.product_update"),

    PRODUCT_DELETE("productDelete", "enum.proPermissionAlias.memo.product_delete"),

    PRODUCT_ONLINE("productOnline", "enum.proPermissionAlias.memo.product_online"),

    PRODUCT_CATEGORY_UPDATE("productCategoryUpdate", "enum.proPermissionAlias.memo.product_category_update"),

    PAYMENT_VIEW("paymentView", "enum.proPermissionAlias.memo.payment_view"),

    PAY_PLAN_VIEW("payPlanView", "enum.proPermissionAlias.memo.pay_plan_view"),

    PAY_PLAN_ADD("payPlanAdd", "enum.proPermissionAlias.memo.pay_plan_add"),

    PAY_PLAN_DELETE("payPlanDelete", "enum.proPermissionAlias.memo.pay_plan_delete"),

    PAY_PLAN_IMPORT("payPlanImport","enum.proPermissionAlias.memo.pay_plan_import"),

    PAY_PLAN_EXPORT("payPlanExport", "enum.proPermissionAlias.memo.pay_plan_export"),

    INVOICE_VIEW("invoiceView", "enum.proPermissionAlias.memo.invoice_view"),

    PAYMENT_ADD("paymentAdd", "enum.proPermissionAlias.memo.payment_add"),

    WORK_ORDER_APP("workOrderApp", "enum.proPermissionAlias.memo.work_order_app"),

    WORK_ORDER_VIEW("workOrderView", "enum.proPermissionAlias.memo.work_order_view"),

    CHART_CENTER("chartCenter", "enum.proPermissionAlias.memo.chart_center"),

    CHART("chart", "enum.proPermissionAlias.memo.chart"),

    CHART_VIEW("chartView", "enum.proPermissionAlias.memo.chart_view"),

    CHART_ADD("chartAdd", "enum.proPermissionAlias.memo.chart_add"),

    CHART_UPDATE("chartUpdate", "enum.proPermissionAlias.memo.chart_update"),

    CHART_EXPORT("chartExport", "enum.proPermissionAlias.memo.chart_export"),

    CHART_PUBLISH("chartPublish", "enum.proPermissionAlias.memo.chart_publish"),

    BI_ADVANCED_ANALYSIS("biAdvancedAnalysis", "enum.proPermissionAlias.memo.bi_advanced_analysis"),
    CHART_DRILL("chartDrill", "enum.proPermissionAlias.memo.chart_drill"),
    //图表联动权限
    CHART_LINKAGE("chartLinkage","enum.proPermissionAlias.memo.chart_linkage"),

    PROCESS_APP("processApp", "enum.proPermissionAlias.memo.process_app"),

    PROCESS("process", "enum.proPermissionAlias.memo.process"),

    PROCESS_VIEW("processView", "enum.proPermissionAlias.memo.process_view"),

    PROCESS_DELETE("processDelete", "enum.proPermissionAlias.memo.process_delete"),

    PROCESS_COMMENT("processComment", "enum.proPermissionAlias.memo.process_comment"),

    MANAGE_CENTER("manageCenter", "enum.proPermissionAlias.memo.manage_center"),

    APPLICATION_SET("applicationSet", "enum.proPermissionAlias.memo.application_set"),

    APPLICATION_SET_VIEW("applicationSetView", "enum.proPermissionAlias.memo.application_set_view"),

    APPLICATION_ADD("applicationAdd", "enum.proPermissionAlias.memo.application_add"),

    APPLICATION_UPDATE("applicationUpdate", "enum.proPermissionAlias.memo.application_update"),

    APPLICATION_DELETE("applicationDelete", "enum.proPermissionAlias.memo.application_delete"),

    FORM_SET("formSet", "enum.proPermissionAlias.memo.form_set"),

    FORM_SET_VIEW("formSetView", "enum.proPermissionAlias.memo.form_set_view"),

    FORM_SET_ADD("formSetAdd", "enum.proPermissionAlias.memo.form_set_add"),

    FORM_SET_UPDATE("formSetUpdate", "enum.proPermissionAlias.memo.form_set_update"),

    FORM_SET_DELETE("formSetDelete", "enum.proPermissionAlias.memo.form_set_delete"),

    PROCESS_SET("processSet", "enum.proPermissionAlias.memo.process_set"),

    PROCESS_SET_VIEW("processSetView", "enum.proPermissionAlias.memo.process_set_view"),

    PROCESS_SET_OPEN("processSetOpen", "enum.proPermissionAlias.memo.process_set_open"),

    PROCESS_SET_UPDATE("processSetUpdate", "enum.proPermissionAlias.memo.process_set_update"),

    PROCESS_SET_CLOSE("processSetClose", "enum.proPermissionAlias.memo.process_set_close"),

    WORKFLOW_DELETE("workflowDelete", "enum.proPermissionAlias.memo.workflow_delete"),


    ORGANIZATION_SET("organizationSet", "enum.proPermissionAlias.memo.organization_set"),

    PUSH_SET_VIEW("pushSetView", "enum.proPermissionAlias.memo.push_set_view"),

    PUSH_SET_UPDATE("pushSetUpdate", "enum.proPermissionAlias.memo.push_set_update"),

    PRINT_TEMPLATE_VIEW("printTemplateView", "enum.proPermissionAlias.memo.print_template_view"),

    PRINT_TEMPLATE_ADD("printTemplateAdd", "enum.proPermissionAlias.memo.print_template_add"),

    PRINT_TEMPLATE_UPDATE("printTemplateUpdate", "enum.proPermissionAlias.memo.print_template_update"),

    PRINT_TEMPLATE_DELETE("printTemplateDelete", "enum.proPermissionAlias.memo.print_template_delete"),

//    MENU_SET("menuSet", "enum.proPermissionAlias.memo.menu_set"),

    MENU_SET_VIEW("menuSetView", "enum.proPermissionAlias.memo.menu_set_view"),

    MENU_SET_UPDATE("menuSetUpdate", "enum.proPermissionAlias.memo.menu_set_update"),

    WORK_ORDER_SET("workOrderSet", "enum.proPermissionAlias.memo.work_order_set"),

    SMS_SET_VIEW("smsSetView", "enum.proPermissionAlias.memo.sms_set_view"),

    SMS_SET_UPDATE("smsSetUpdate", "enum.proPermissionAlias.memo.sms_set_update"),

    SMS_RECHARGE("smsRecharge", "enum.proPermissionAlias.memo.sms_recharge"),

    OTHER_SET("otherSet", "enum.proPermissionAlias.memo.other_set"),

    MODULE("module", "enum.proPermissionAlias.memo.module"),

    MODULE_VIEW("moduleView", "enum.proPermissionAlias.memo.module_view"),

    MODULE_INSTALL("moduleInstall", "enum.proPermissionAlias.memo.module_install"),

    SMS_APP("smsApp", "enum.proPermissionAlias.memo.sms_app"),

    SUPPLIER_CONTACT("supplierContact", "enum.proPermissionAlias.memo.supplier_contact"),

    SUPPLIER_CONTACT_VIEW("supplierContactView", "enum.proPermissionAlias.memo.supplier_contact_view"),

    SUPPLIER_CONTACT_ADD("supplierContactAdd", "enum.proPermissionAlias.memo.supplier_contact_add"),

    SUPPLIER_CONTACT_UPDATE("supplierContactUpdate", "enum.proPermissionAlias.memo.supplier_contact_update"),

    SUPPLIER_CONTACT_DELETE("supplierContactDelete", "enum.proPermissionAlias.memo.supplier_contact_delete"),

    SUPPLIER_CONTACT_IMPORT("supplierContactImport", "enum.proPermissionAlias.memo.supplier_contact_import"),

    SUPPLIER_CONTACT_EXPORT("supplierContactExport", "enum.proPermissionAlias.memo.supplier_contact_export"),
    SUPPLIER_COMMUNICATE("supplierCommunicate", "enum.proPermissionAlias.memo.supplier_communicate"),

    SUPPLIER_COMMUNICATE_VIEW("supplierCommunicateView", "enum.proPermissionAlias.memo.supplier_communicate_view"),

    SUPPLIER_COMMUNICATE_ADD("supplierCommunicateAdd", "enum.proPermissionAlias.memo.supplier_communicate_add"),

    SUPPLIER_COMMUNICATE_UPDATE("supplierCommunicateUpdate", "enum.proPermissionAlias.memo.supplier_communicate_update"),

    SUPPLIER_COMMUNICATE_DELETE("supplierCommunicateDelete", "enum.proPermissionAlias.memo.supplier_communicate_delete"),

    SUPPLIER_COMMUNICATE_IMPORT("supplierCommunicateImport", "enum.proPermissionAlias.memo.supplier_communicate_import"),

    SUPPLIER_COMMUNICATE_EXPORT("supplierCommunicateExport", "enum.proPermissionAlias.memo.supplier_communicate_export"),

    OBJECTIVE_IMPORT("objectiveImport", "enum.proPermissionAlias.memo.objective_import"),

    QUOTATION("quotation", "enum.proPermissionAlias.memo.quotation"),

    QUOTATION_VIEW("quotationView", "enum.proPermissionAlias.memo.quotation_view"),

    QUOTATION_ADD("quotationAdd", "enum.proPermissionAlias.memo.quotation_add"),

    QUOTATION_UPDATE("quotationUpdate", "enum.proPermissionAlias.memo.quotation_update"),

    QUOTATION_DELETE("quotationDelete", "enum.proPermissionAlias.memo.quotation_delete"),

    QUOTATION_IMPORT("quotationImport", "enum.proPermissionAlias.memo.quotation_import"),

    QUOTATION_EXPORT("quotationExport", "enum.proPermissionAlias.memo.quotation_export"),

    QUOTATION_PRINT("quotationPrint", "enum.proPermissionAlias.memo.quotation_print"),

    QUOTATION_NEW_VERSION("quotationNewVersion", "enum.proPermissionAlias.memo.quotation_new_version"),

    QUOTATION_ESIGN("quotationEsign", "enum.proPermissionAlias.memo.quotation_esign"),

    PAYMENT_SHEET("paymentSheet", "enum.proPermissionAlias.memo.payment_sheet"),

    PAYMENT_SHEET_VIEW("paymentSheetView", "enum.proPermissionAlias.memo.payment_sheet_view"),

    PAYMENT_SHEET_ADD("paymentSheetAdd", "enum.proPermissionAlias.memo.payment_sheet_add"),

    PAYMENT_SHEET_UPDATE("paymentSheetUpdate", "enum.proPermissionAlias.memo.payment_sheet_update"),

    PAYMENT_SHEET_DELETE("paymentSheetDelete", "enum.proPermissionAlias.memo.payment_sheet_delete"),

    PAYMENT_SHEET_PRINT("paymentSheetPrint", "enum.proPermissionAlias.memo.payment_sheet_print"),

    PAYMENT_SHEET_BAD("paymentSheetBad", "enum.proPermissionAlias.memo.payment_sheet_bad"),

    PAYMENT_SHEET_RED("paymentSheetRed", "enum.proPermissionAlias.memo.payment_sheet_red"),

    PAYMENT_SHEET_IMPORT("paymentSheetImport", "enum.proPermissionAlias.memo.payment_sheet_import"),

    PAYMENT_SHEET_EXPORT("paymentSheetExport", "enum.proPermissionAlias.memo.payment_sheet_export"),

    SOUKE("searchCustomer", "enum.proPermissionAlias.memo.souke"),

    SOUKE_VIEW("searchCustomerView", "enum.proPermissionAlias.memo.souke_view"),

    SOUKE_EDIT("searchCustomerEdit", "enum.proPermissionAlias.memo.souke_edit"),

    AI_ASSISTANT("aiAssistant", "enum.proPermissionAlias.memo.ai_assistant"),

    DATA_CENTER("dataCenter", "enum.proPermissionAlias.memo.data_center"),

    PURCHASE_INSTOCK("purchaseInstock", "enum.proPermissionAlias.memo.purchase_instock"),

    PURCHASE_INSTOCK_VIEW("purchaseInstockView", "enum.proPermissionAlias.memo.purchase_instock_view"),

    PURCHASE_INSTOCK_ADD("purchaseInstockAdd", "enum.proPermissionAlias.memo.purchase_instock_add"),

    PURCHASE_INSTOCK_UPDATE("purchaseInstockUpdate", "enum.proPermissionAlias.memo.purchase_instock_update"),

    PURCHASE_INSTOCK_DELETE("purchaseInstockDelete", "enum.proPermissionAlias.memo.purchase_instock_delete"),

    PURCHASE_INSTOCK_IMPORT("purchaseInstockImport", "enum.proPermissionAlias.memo.purchase_instock_import"),

    PURCHASE_INSTOCK_EXPORT("purchaseInstockExport", "enum.proPermissionAlias.memo.purchase_instock_export"),

    PURCHASE_INSTOCK_PRINT("purchaseInstockPrint", "enum.proPermissionAlias.memo.purchase_instock_print"),

    REFUND_INSTOCK("refundInstock", "enum.proPermissionAlias.memo.refund_instock"),

    REFUND_INSTOCK_VIEW("refundInstockView", "enum.proPermissionAlias.memo.refund_instock_view"),

    REFUND_INSTOCK_ADD("refundInstockAdd", "enum.proPermissionAlias.memo.refund_instock_add"),

    REFUND_INSTOCK_UPDATE("refundInstockUpdate", "enum.proPermissionAlias.memo.refund_instock_update"),

    REFUND_INSTOCK_DELETE("refundInstockDelete", "enum.proPermissionAlias.memo.refund_instock_delete"),

    REFUND_INSTOCK_EXPORT("refundInstockExport", "enum.proPermissionAlias.memo.refund_instock_export"),

    REFUND_INSTOCK_PRINT("refundInstockPrint", "enum.proPermissionAlias.memo.refund_instock_print"),

    PRODUCTION_INSTOCK("productionInstock", "enum.proPermissionAlias.memo.production_instock"),

    PRODUCTION_INSTOCK_VIEW("productionInstockView", "enum.proPermissionAlias.memo.production_instock_view"),

    PRODUCTION_INSTOCK_ADD("productionInstockAdd", "enum.proPermissionAlias.memo.production_instock_add"),

    PRODUCTION_INSTOCK_UPDATE("productionInstockUpdate", "enum.proPermissionAlias.memo.production_instock_update"),

    PRODUCTION_INSTOCK_DELETE("productionInstockDelete", "enum.proPermissionAlias.memo.production_instock_delete"),

    PRODUCTION_INSTOCK_EXPORT("productionInstockExport", "enum.proPermissionAlias.memo.production_instock_export"),

    PRODUCTION_INSTOCK_PRINT("productionInstockPrint", "enum.proPermissionAlias.memo.production_instock_print"),

    RETURNED_MATERIEL_INSTOCK("returnedMaterielInstock", "enum.proPermissionAlias.memo.returned_materiel_instock"),

    RETURNED_MATERIEL_INSTOCK_VIEW("returnedMaterielInstockView", "enum.proPermissionAlias.memo.returned_materiel_instock_view"),

    RETURNED_MATERIEL_INSTOCK_ADD("returnedMaterielInstockAdd", "enum.proPermissionAlias.memo.returned_materiel_instock_add"),

    RETURNED_MATERIEL_INSTOCK_UPDATE("returnedMaterielInstockUpdate", "enum.proPermissionAlias.memo.returned_materiel_instock_update"),

    RETURNED_MATERIEL_INSTOCK_DELETE("returnedMaterielInstockDelete", "enum.proPermissionAlias.memo.returned_materiel_instock_delete"),

    RETURNED_MATERIEL_INSTOCK_EXPORT("returnedMaterielInstockExport", "enum.proPermissionAlias.memo.returned_materiel_instock_export"),

    RETURNED_MATERIEL_INSTOCK_PRINT("returnedMaterielInstockPrint", "enum.proPermissionAlias.memo.returned_materiel_instock_print"),

    CONTRACT_OUTSTOCK("contractOutstock", "enum.proPermissionAlias.memo.contract_outstock"),

    CONTRACT_OUTSTOCK_VIEW("contractOutstockView", "enum.proPermissionAlias.memo.contract_outstock_view"),

    CONTRACT_OUTSTOCK_ADD("contractOutstockAdd", "enum.proPermissionAlias.memo.contract_outstock_add"),

    CONTRACT_OUTSTOCK_UPDATE("contractOutstockUpdate", "enum.proPermissionAlias.memo.contract_outstock_update"),

    CONTRACT_OUTSTOCK_DELETE("contractOutstockDelete", "enum.proPermissionAlias.memo.contract_outstock_delete"),

    CONTRACT_OUTSTOCK_IMPORT("contractOutstockImport", "enum.proPermissionAlias.memo.contract_outstock_import"),

    CONTRACT_OUTSTOCK_EXPORT("contractOutstockExport", "enum.proPermissionAlias.memo.contract_outstock_export"),

    CONTRACT_OUTSTOCK_PRINT("contractOutstockPrint", "enum.proPermissionAlias.memo.contract_outstock_print"),
    CONTRACT_ESIGN("contractEsign", "enum.proPermissionAlias.memo.contract_esign"),

    RETURNED_PURCHASE_OUTSTOCK("returnedPurchaseOutstock", "enum.proPermissionAlias.memo.returned_purchase_outstock"),

    RETURNED_PURCHASE_OUTSTOCK_VIEW("returnedPurchaseOutstockView", "enum.proPermissionAlias.memo.returned_purchase_outstock_view"),

    RETURNED_PURCHASE_OUTSTOCK_ADD("returnedPurchaseOutstockAdd", "enum.proPermissionAlias.memo.returned_purchase_outstock_add"),

    RETURNED_PURCHASE_OUTSTOCK_UPDATE("returnedPurchaseOutstockUpdate", "enum.proPermissionAlias.memo.returned_purchase_outstock_update"),

    RETURNED_PURCHASE_OUTSTOCK_DELETE("returnedPurchaseOutstockDelete", "enum.proPermissionAlias.memo.returned_purchase_outstock_delete"),

    RETURNED_PURCHASE_OUTSTOCK_EXPORT("returnedPurchaseOutstockExport", "enum.proPermissionAlias.memo.returned_purchase_outstock_export"),

    RETURNED_PURCHASE_OUTSTOCK_PRINT("returnedPurchaseOutstockPrint", "enum.proPermissionAlias.memo.returned_purchase_outstock_print"),

    PRODUCTION_MATERIEL_OUTSTOCK("productionMaterielOutstock", "enum.proPermissionAlias.memo.production_materiel_outstock"),

    PRODUCTION_MATERIEL_OUTSTOCK_VIEW("materielOutstockView", "enum.proPermissionAlias.memo.production_materiel_outstock_view"),

    PRODUCTION_MATERIEL_OUTSTOCK_ADD("materielOutstockAdd", "enum.proPermissionAlias.memo.production_materiel_outstock_add"),

    PRODUCTION_MATERIEL_OUTSTOCK_UPDATE("materielOutstockUpdate", "enum.proPermissionAlias.memo.production_materiel_outstock_update"),

    PRODUCTION_MATERIEL_OUTSTOCK_DELETE("materielOutstockDelete", "enum.proPermissionAlias.memo.production_materiel_outstock_delete"),

    PRODUCTION_MATERIEL_OUTSTOCK_EXPORT("materielOutstockExport", "enum.proPermissionAlias.memo.production_materiel_outstock_export"),

    PRODUCTION_MATERIEL_OUTSTOCK_PRINT("materielOutstockPrint", "enum.proPermissionAlias.memo.production_materiel_outstock_print"),

    WORK_ORDER_OUTSTOCK("workOrderOutstock", "enum.proPermissionAlias.memo.work_order_outstock"),

    WORK_ORDER_OUTSTOCK_VIEW("workOrderOutstockView", "enum.proPermissionAlias.memo.work_order_outstock_view"),

    WORK_ORDER_OUTSTOCK_ADD("workOrderOutstockAdd", "enum.proPermissionAlias.memo.work_order_outstock_add"),

    WORK_ORDER_OUTSTOCK_UPDATE("workOrderOutstockUpdate", "enum.proPermissionAlias.memo.work_order_outstock_update"),

    WORK_ORDER_OUTSTOCK_DELETE("workOrderOutstockDelete", "enum.proPermissionAlias.memo.work_order_outstock_delete"),

    WORK_ORDER_OUTSTOCK_EXPORT("workOrderOutstockExport", "enum.proPermissionAlias.memo.work_order_outstock_export"),

    WORK_ORDER_OUTSTOCK_PRINT("workOrderOutstockPrint", "enum.proPermissionAlias.memo.work_order_outstock_print"),

    SIGN_IN_DELETE("signInDelete","enum.proPermissionAlias.memo.sign_in_delete"),

    REIMBURSEMENT_FORM("reimbursementForm","enum.proPermissionAlias.memo.reimbursement_form"),
    REIMBURSEMENT_FORM_VIEW("reimbursementFormView","enum.proPermissionAlias.memo.reimbursement_form_view"),
    EXPENSE("expense","enum.proPermissionAlias.memo.expense"),
    EXPENSE_VIEW("expenseView","enum.proPermissionAlias.memo.expense_view"),

    PAY_SHEET("paySheet", "enum.proPermissionAlias.memo.pay_sheet"),

    JXC_SET("jxcSet", "enum.proPermissionAlias.memo.jxc_set"),

    PRICE_LIST_SET("priceSet", "enum.proPermissionAlias.memo.price_list_set"),

    ELECTRONIC_SURFACE_SINGLE_SETTINGS("ELECTRONIC_SURFACE_SINGLE_SETTINGS", "enum.proPermissionAlias.memo.electronic_surface_single_settings"),

    LOGISTICS_QUERY("LOGISTICS_QUERY", "enum.proPermissionAlias.memo.logistics_query"),

    MARKETING_MANAGEMENT_SETTINGS("marketingManagementSettings", "enum.proPermissionAlias.memo.marketing_management_settings"),

    SSO("sso", "table.pro_permission.name.sso"),

    PAY_SHEET_VIEW("paySheetView", "enum.proPermissionAlias.memo.pay_sheet_view"),

    PAY_SHEET_ADD("paySheetAdd", "enum.proPermissionAlias.memo.pay_sheet_add"),

    PAY_SHEET_UPDATE("paySheetUpdate", "enum.proPermissionAlias.memo.pay_sheet_update"),

    PAY_SHEET_DELETE("paySheetDelete", "enum.proPermissionAlias.memo.pay_sheet_delete"),

    PAY_SHEET_PRINT("paySheetPrint", "enum.proPermissionAlias.memo.pay_sheet_print"),

    PAY_SHEET_BAD("paySheetBad", "enum.proPermissionAlias.memo.pay_sheet_bad"),

    PAY_SHEET_RED("paySheetRed", "enum.proPermissionAlias.memo.pay_sheet_red"),

    PAY_SHEET_IMPORT("paySheetImport", "enum.proPermissionAlias.memo.pay_sheet_import"),

    PAY_SHEET_EXPORT("paySheetExport", "enum.proPermissionAlias.memo.pay_sheet_export"),

    WORK_ORDER_PRINT("workOrderPrint","enum.proPermissionAlias.memo.work_order_print"),

    PAYMENT_TASK("paymentTask","enum.proPermissionAlias.memo.payment_task"),

    PAYMENT_TASK_VIEW("paymentTaskView","enum.proPermissionAlias.memo.payment_task_view"),

    PAYMENT_TASK_ADD("paymentTaskAdd","enum.proPermissionAlias.memo.payment_task_add"),

    PAYMENT_TASK_UPDATE("paymentTaskUpdate","enum.proPermissionAlias.memo.payment_task_update"),

    PAYMENT_TASK_DELETE("paymentTaskDelete","enum.proPermissionAlias.memo.payment_task_delete"),

    PAYMENT_TASK_EXPORT("paymentTaskExport","enum.proPermissionAlias.memo.payment_task_export"),

    //客户对账单
    CUSTOMER_STATEMENT("customerStatement","enum.proPermissionAlias.memo.customer_statement"),
    //客户对账单查看
    CUSTOMER_STATEMENT_VIEW("customerStatementView","enum.proPermissionAlias.memo.customer_statement_view"),
    //客户对账单打印
    CUSTOMER_STATEMENT_PRINT("customerStatementPrint","enum.proPermissionAlias.memo.customer_statement_print"),
    //客户对账单导出
    CUSTOMER_STATEMENT_EXPORT("customerStatementExport","enum.proPermissionAlias.memo.customer_statement_export"),
    //添加到对账单列表
    CUSTOMER_STATEMENT_ADD("addStatement","enum.proPermissionAlias.memo.customer_statement_add"),

    BATCH_FLOW_BILL("batchFlowBill", "enum.proPermissionAlias.memo.batch_flow_bill"),

    BATCH_FLOW_BILL_VIEW("batchFlowBillView", "enum.proPermissionAlias.memo.batch_flow_bill_view"),

    BATCH_FLOW_BILL_EXPORT("batchFlowBillExport", "enum.proPermissionAlias.memo.batch_flow_bill_export"),

    SEQ_SEARCH("productSerialBalance", "enum.proPermissionAlias.memo.seq_search"),

    SEQ_SEARCH_VIEW("productSerialBalanceView", "enum.proPermissionAlias.memo.seq_search_view"),

    SEQ_SEARCH_EXPORT("productSerialBalanceExport", "enum.proPermissionAlias.memo.seq_search_export"),

    PAAS_ESIGN("paasEsign", "enum.proPermissionAlias.memo.paasEsign"),
    ESIGN("esign", "enum.proPermissionAlias.memo.esign"),
    ESIGN_SET("esignSet", "enum.proPermissionAlias.memo.esign_set"),
    ESIGN_RECHARGE("esignRecharge", "enum.proPermissionAlias.memo.esign_recharge"),
    ESIGN_CORP_INFO("esignCorpInfo", "enum.proPermissionAlias.memo.esign_corp_info"),
    ESIGN_OTHER_SET("esignOtherSet", "enum.proPermissionAlias.memo.esign_other_set"),

    MARKET_MANAGEMENT("marketManagement", "enum.proPermissionAlias.memo.market_management"),

    MARKET_ACTIVITY("marketActivity", "enum.proPermissionAlias.memo.market_activity"),
    CLUE("clue", "enum.proPermissionAlias.memo.clue"),
    MARKET_ACTIVITY_VIEW("marketActivityView", "enum.proPermissionAlias.memo.market_activity_view"),
    MARKET_ACTIVITY_ADD("marketActivityAdd", "enum.proPermissionAlias.memo.market_activity_add"),
    MARKET_ACTIVITY_UPDATE("marketActivityUpdate", "enum.proPermissionAlias.memo.market_activity_update"),
    MARKET_ACTIVITY_DELETE("marketActivityDelete", "enum.proPermissionAlias.memo.market_activity_delete"),
    MARKET_ACTIVITY_HANDOVER("marketActivityHandover", "enum.proPermissionAlias.memo.market_activity_handover"),
    MARKET_ACTIVITY_IMPORT("marketActivityImport", "enum.proPermissionAlias.memo.market_activity_import"),
    MARKET_ACTIVITY_EXPORT("marketActivityExport", "enum.proPermissionAlias.memo.market_activity_export"),
    CLUE_VIEW("clueView", "enum.proPermissionAlias.memo.clue_view"),
    CLUE_ADD("clueAdd", "enum.proPermissionAlias.memo.clue_add"),
    CLUE_UPDATE("clueUpdate", "enum.proPermissionAlias.memo.clue_update"),
    CLUE_DELETE("clueDelete", "enum.proPermissionAlias.memo.clue_delete"),
    CLUE_DISTRIBUTION("clueDistribution", "enum.proPermissionAlias.memo.clue_distribution"),
    CLUE_HANDOVER("clueHandover", "enum.proPermissionAlias.memo.clue_handover"),
    CLUE_DUPLICATE("clueDuplicate", "enum.proPermissionAlias.memo.clue_duplicate"),
    CLUE_IMPORT("clueImport", "enum.proPermissionAlias.memo.clue_import"),
    CLUE_EXPORT("clueExport", "enum.proPermissionAlias.memo.clue_export"),
    CLUE_PUBLIC("cluePublic", "enum.proPermissionAlias.memo.clue_public"),
    CLUE_BACK("clueBack", "enum.proPermissionAlias.memo.clue_back"),
    CLUE_REPEAT_JOIN_TEAM("clueRepeatJoinTeam", "enum.proPermissionAlias.memo.clue_repeat_join_team"),
    CLUE_GAIN("clueGain", "enum.proPermissionAlias.memo.clue_gain"),
    CLUE_RECYCLE("clueRecycle", "enum.proPermissionAlias.memo.clue_recycle"),
    CLUE_TRANS_CUSTOMER("clueTransCustomer","enum.proPermissionAlias.memo.clue_trans_customer"),

    MERGE_CUSTOMER("customerMerge","enum.proPermissionAlias.memo.merge_customer"),


    SALE_BUNDLE("saleBundle", "enum.proPermissionAlias.memo.sale_bundle"),
    SALE_BUNALE_ADD("saleBundleAdd", "enum.proPermissionAlias.memo.sale_bundle_add"),
    SALE_BUNDLE_SYN("saleBundleSyn", "enum.proPermissionAlias.memo.sale_bundle_syn"),
    SALE_BUNALE_VIEW("saleBundleView", "enum.proPermissionAlias.memo.sale_bundle_view"),
    SALE_BUNDLE_MEMBER_ADD("saleBundleMemberAdd", "enum.proPermissionAlias.memo.sale_bundle_member_add"),

    // 服务注册
    SERVICE_REGISTER("serviceRegister", "enum.proPermissionAlias.memo.serviceRegister"),
    SERVICE_REGISTER_VIEW("serviceRegisterView", "enum.proPermissionAlias.memo.serviceRegisterView"),
    SERVICE_REGISTER_ADD("serviceRegisterAdd", "enum.proPermissionAlias.memo.serviceRegisterAdd"),
    SERVICE_REGISTER_EDIT("serviceRegisterEdit", "enum.proPermissionAlias.memo.serviceRegisterEdit"),
    SERVICE_REGISTER_DELETE("serviceRegisterDelete", "enum.proPermissionAlias.memo.serviceRegisterDelete"),
    // 开发人员
    DEVELOPER("developer", "enum.proPermissionAlias.memo.developer"),
    DEVELOPER_VIEW("developerView", "enum.proPermissionAlias.memo.developerView"),
    DEVELOPER_ADD("developerAdd", "enum.proPermissionAlias.memo.developerAdd"),
    DEVELOPER_EDIT("developerEdit", "enum.proPermissionAlias.memo.developerEdit"),
    DEVELOPER_DELETE("developerDelete", "enum.proPermissionAlias.memo.developerDelete"),
    // 数据连接
    DATA_CONNECTION("dataConnection", "enum.proPermissionAlias.memo.dataConnection"),
    DATA_CONNECTION_TPLUS("dataConnectionTplus", "enum.proPermissionAlias.memo.dataConnectionTplus"),


    CUS_FILE_CABINET_VISIBLE("cusFileCabinetVisible", "enum.proPermissionAlias.memo.cusFileCabinetVisible"),
    CUS_FILE_CABINET_DELETE("cusFileCabinetDelete", "enum.proPermissionAlias.memo.cusFileCabinetDelete"),
    CONTACT_FILE_CABINET_VISIBLE("contactFileCabinetVisible", "enum.proPermissionAlias.memo.contactFileCabinetVisible"),
    CONTACT_FILE_CABINET_DELETE("contactFileCabinetDelete", "enum.proPermissionAlias.memo.contactFileCabinetDelete"),
    OPP_FILE_CABINET_VISIBLE("oppFileCabinetVisible", "enum.proPermissionAlias.memo.oppFileCabinetVisible"),
    OPP_FILE_CABINET_DELETE("oppFileCabinetDelete", "enum.proPermissionAlias.memo.oppFileCabinetDelete"),
    CONTRACT_FILE_CABINET_VISIBLE("contractFileCabinetVisible", "enum.proPermissionAlias.memo.contractFileCabinetVisible"),
    CONTRACT_FILE_CABINET_DELETE("contractFileCabinetDelete", "enum.proPermissionAlias.memo.contractFileCabinetDelete"),
    COM_PLAN_FILE_CABINET_VISIBLE("comPlanFileCabinetVisible", "enum.proPermissionAlias.memo.comPlanFileCabinetVisible"),
    COM_PLAN_FILE_CABINET_DELETE("comPlanFileCabinetDelete", "enum.proPermissionAlias.memo.comPlanFileCabinetDelete"),
    WORK_REPORT_FILE_CABINET_VISIBLE("workReportFileCabinetVisible", "enum.proPermissionAlias.memo.workReportFileCabinetVisible"),
    WORK_REPORT_FILE_CABINET_DELETE("workReportFileCabinetDelete", "enum.proPermissionAlias.memo.workReportFileCabinetDelete"),
    QUOTATION_FILE_CABINET_VISIBLE("quotationFileCabinetVisible", "enum.proPermissionAlias.memo.quotationFileCabinetVisible"),
    QUOTATION_FILE_CABINET_DELETE("quotationFileCabinetDelete", "enum.proPermissionAlias.memo.quotationFileCabinetDelete"),
    REFUND_FILE_CABINET_VISIBLE("refundFileCabinetVisible", "enum.proPermissionAlias.memo.refundFileCabinetVisible"),
    REFUND_FILE_CABINET_DELETE("refundFileCabinetDelete", "enum.proPermissionAlias.memo.refundFileCabinetDelete"),
    CUS_COM_FILE_CABINET_VISIBLE("cusComFileCabinetVisible", "enum.proPermissionAlias.memo.cusComFileCabinetVisible"),
    CUS_COM_FILE_CABINET_DELETE("cusComFileCabinetDelete", "enum.proPermissionAlias.memo.cusComFileCabinetDelete"),
    PAYMENT_FILE_CABINET_VISIBLE("paymentFileCabinetVisible", "enum.proPermissionAlias.memo.paymentFileCabinetVisible"),
    PAYMENT_FILE_CABINET_DELETE("paymentFileCabinetDelete", "enum.proPermissionAlias.memo.paymentFileCabinetDelete"),
    PAY_PLAN_FILE_CABINET_VISIBLE("payPlanFileCabinetVisible", "enum.proPermissionAlias.memo.payPlanFileCabinetVisible"),
    PAY_PLAN_FILE_CABINET_DELETE("payPlanFileCabinetDelete", "enum.proPermissionAlias.memo.payPlanFileCabinetDelete"),
    PAYMENT_SHEET_FILE_CABINET_VISIBLE("paymentSheetFileCabinetVisible", "enum.proPermissionAlias.memo.paymentSheetFileCabinetVisible"),
    PAYMENT_SHEET_FILE_CABINET_DELETE("paymentSheetFileCabinetDelete", "enum.proPermissionAlias.memo.paymentSheetFileCabinetDelete"),
    PAY_SHEET_FILE_CABINET_VISIBLE("paySheetFileCabinetVisible", "enum.proPermissionAlias.memo.paySheetFileCabinetVisible"),
    PAY_SHEET_FILE_CABINET_DELETE("paySheetFileCabinetDelete", "enum.proPermissionAlias.memo.paySheetFileCabinetDelete"),
    INVOICE_FILE_CABINET_VISIBLE("invoiceFileCabinetVisible", "enum.proPermissionAlias.memo.invoiceFileCabinetVisible"),
    INVOICE_FILE_CABINET_DELETE("invoiceFileCabinetDelete", "enum.proPermissionAlias.memo.invoiceFileCabinetDelete"),
    PUR_INVOICE_FILE_CABINET_VISIBLE("purInvoiceFileCabinetVisible", "enum.proPermissionAlias.memo.purInvoiceFileCabinetVisible"),
    PUR_INVOICE_FILE_CABINET_DELETE("purInvoiceFileCabinetDelete", "enum.proPermissionAlias.memo.purInvoiceFileCabinetDelete"),
    SUPPLIER_FILE_CABINET_VISIBLE("supplierFileCabinetVisible", "enum.proPermissionAlias.memo.supplierFileCabinetVisible"),
    SUPPLIER_FILE_CABINET_DELETE("supplierFileCabinetDelete", "enum.proPermissionAlias.memo.supplierFileCabinetDelete"),
    SUP_CONTACT_FILE_CABINET_VISIBLE("supContactFileCabinetVisible", "enum.proPermissionAlias.memo.supContactFileCabinetVisible"),
    SUP_CONTACT_FILE_CABINET_DELETE("supContactFileCabinetDelete", "enum.proPermissionAlias.memo.supContactFileCabinetDelete"),
    SUP_COM_FILE_CABINET_VISIBLE("supComFileCabinetVisible", "enum.proPermissionAlias.memo.supComFileCabinetVisible"),
    SUP_COM_FILE_CABINET_DELETE("supComFileCabinetDelete", "enum.proPermissionAlias.memo.supComFileCabinetDelete"),
    PURCHASE_FILE_CABINET_VISIBLE("purchaseFileCabinetVisible", "enum.proPermissionAlias.memo.purchaseFileCabinetVisible"),
    PURCHASE_FILE_CABINET_DELETE("purchaseFileCabinetDelete", "enum.proPermissionAlias.memo.purchaseFileCabinetDelete"),
    RE_PURCHASE_FILE_CABINET_VISIBLE("rePurchaseFileCabinetVisible", "enum.proPermissionAlias.memo.rePurchaseFileCabinetVisible"),
    RE_PURCHASE_FILE_CABINET_DELETE("rePurchaseFileCabinetDelete", "enum.proPermissionAlias.memo.rePurchaseFileCabinetDelete"),
    ASSEMBLE_FILE_CABINET_VISIBLE("assembleFileCabinetVisible", "enum.proPermissionAlias.memo.assembleFileCabinetVisible"),
    ASSEMBLE_FILE_CABINET_DELETE("assembleFileCabinetDelete", "enum.proPermissionAlias.memo.assembleFileCabinetDelete"),
    INSTOCK_FILE_CABINET_VISIBLE("instockFileCabinetVisible", "enum.proPermissionAlias.memo.instockFileCabinetVisible"),
    INSTOCK_FILE_CABINET_DELETE("instockFileCabinetDelete", "enum.proPermissionAlias.memo.instockFileCabinetDelete"),
    PUINSTOCK_FILE_CABINET_VISIBLE("puinstockFileCabinetVisible", "enum.proPermissionAlias.memo.puinstockFileCabinetVisible"),
    PUINSTOCK_FILE_CABINET_DELETE("puinstockFileCabinetDelete", "enum.proPermissionAlias.memo.puinstockFileCabinetDelete"),
    REINSTOCK_FILE_CABINET_VISIBLE("reinstockFileCabinetVisible", "enum.proPermissionAlias.memo.reinstockFileCabinetVisible"),
    REINSTOCK_FILE_CABINET_DELETE("reinstockFileCabinetDelete", "enum.proPermissionAlias.memo.reinstockFileCabinetDelete"),
    PRINSTOCK_FILE_CABINET_VISIBLE("prinstockFileCabinetVisible", "enum.proPermissionAlias.memo.prinstockFileCabinetVisible"),
    PRINSTOCK_FILE_CABINET_DELETE("prinstockFileCabinetDelete", "enum.proPermissionAlias.memo.prinstockFileCabinetDelete"),
    RMINSTOCK_FILE_CABINET_VISIBLE("rminstockFileCabinetVisible", "enum.proPermissionAlias.memo.rminstockFileCabinetVisible"),
    RMINSTOCK_FILE_CABINET_DELETE("rminstockFileCabinetDelete", "enum.proPermissionAlias.memo.rminstockFileCabinetDelete"),
    OUTSTOCK_FILE_CABINET_VISIBLE("outstockFileCabinetVisible", "enum.proPermissionAlias.memo.outstockFileCabinetVisible"),
    OUTSTOCK_FILE_CABINET_DELETE("outstockFileCabinetDelete", "enum.proPermissionAlias.memo.outstockFileCabinetDelete"),
    WOOUTSTOCK_FILE_CABINET_VISIBLE("wooutstockFileCabinetVisible", "enum.proPermissionAlias.memo.wooutstockFileCabinetVisible"),
    WOOUTSTOCK_FILE_CABINET_DELETE("wooutstockFileCabinetDelete", "enum.proPermissionAlias.memo.wooutstockFileCabinetDelete"),
    PMOUTSTOCK_FILE_CABINET_VISIBLE("pmoutstockFileCabinetVisible", "enum.proPermissionAlias.memo.pmoutstockFileCabinetVisible"),
    PMOUTSTOCK_FILE_CABINET_DELETE("pmoutstockFileCabinetDelete", "enum.proPermissionAlias.memo.pmoutstockFileCabinetDelete"),
    RPOUTSTOCK_FILE_CABINET_VISIBLE("rpoutstockFileCabinetVisible", "enum.proPermissionAlias.memo.rpoutstockFileCabinetVisible"),
    RPOUTSTOCK_FILE_CABINET_DELETE("rpoutstockFileCabinetDelete", "enum.proPermissionAlias.memo.rpoutstockFileCabinetDelete"),
    COOUTSTOCK_FILE_CABINET_VISIBLE("cooutstockFileCabinetVisible", "enum.proPermissionAlias.memo.cooutstockFileCabinetVisible"),
    COOUTSTOCK_FILE_CABINET_DELETE("cooutstockFileCabinetDelete", "enum.proPermissionAlias.memo.cooutstockFileCabinetDelete"),
    INVENTORY_FILE_CABINET_VISIBLE("inventoryFileCabinetVisible", "enum.proPermissionAlias.memo.inventoryFileCabinetVisible"),
    INVENTORY_FILE_CABINET_DELETE("inventoryFileCabinetDelete", "enum.proPermissionAlias.memo.inventoryFileCabinetDelete"),
    TRANSFER_FILE_CABINET_VISIBLE("transferFileCabinetVisible", "enum.proPermissionAlias.memo.transferFileCabinetVisible"),
    TRANSFER_FILE_CABINET_DELETE("transferFileCabinetDelete", "enum.proPermissionAlias.memo.transferFileCabinetDelete"),
    WAREHOUSE_FILE_CABINET_VISIBLE("warehouseFileCabinetVisible", "enum.proPermissionAlias.memo.warehouseFileCabinetVisible"),
    WAREHOUSE_FILE_CABINET_DELETE("warehouseFileCabinetDelete", "enum.proPermissionAlias.memo.warehouseFileCabinetDelete"),
    BOM_FILE_CABINET_VISIBLE("bomFileCabinetVisible", "enum.proPermissionAlias.memo.bomFileCabinetVisible"),
    BOM_FILE_CABINET_DELETE("bomFileCabinetDelete", "enum.proPermissionAlias.memo.bomFileCabinetDelete"),
    PRO_ORDER_FILE_CABINET_VISIBLE("proOrderFileCabinetVisible", "enum.proPermissionAlias.memo.proOrderFileCabinetVisible"),
    PRO_ORDER_FILE_CABINET_DELETE("proOrderFileCabinetDelete", "enum.proPermissionAlias.memo.proOrderFileCabinetDelete"),
    MA_ACTIVITY_FILE_CABINET_VISIBLE("maActivityFileCabinetVisible", "enum.proPermissionAlias.memo.maActivityFileCabinetVisible"),
    MA_ACTIVITY_FILE_CABINET_DELETE("maActivityFileCabinetDelete", "enum.proPermissionAlias.memo.maActivityFileCabinetDelete"),
    CLUE_FILE_CABINET_VISIBLE("clueFileCabinetVisible", "enum.proPermissionAlias.memo.clueFileCabinetVisible"),
    CLUE_FILE_CABINET_DELETE("clueFileCabinetDelete", "enum.proPermissionAlias.memo.clueFileCabinetDelete"),
    PRODUCT_FILE_CABINET_VISIBLE("productFileCabinetVisible", "enum.proPermissionAlias.memo.productFileCabinetVisible"),
    PRODUCT_FILE_CABINET_DELETE("productFileCabinetDelete", "enum.proPermissionAlias.memo.productFileCabinetDelete"),
    WORK_ORDER_FILE_CABINET_VISIBLE("workOrderFileCabinetVisible", "enum.proPermissionAlias.memo.workOrderFileCabinetVisible"),
    WORK_ORDER_FILE_CABINET_DELETE("workOrderFileCabinetDelete", "enum.proPermissionAlias.memo.workOrderFileCabinetDelete"),





    ORDER_CENTER("orderCenter", "enum.proPermissionAlias.memo.order_center"),

    MARKETING_MANAGEMENT("marketingManagement", "enum.proPermissionAlias.memo.marketingManagement"),
    MARKETING_ACTIVITY_NEW_ADD("marketingActivityNewAdd", "enum.proPermissionAlias.memo.marketingActivityNewAdd"),
    MARKETING_ACTIVITY_VIEW("marketingActivityView", "enum.proPermissionAlias.memo.marketingActivityView"),
    MARKETING_ACTIVITY_ADD("marketingActivityAdd", "enum.proPermissionAlias.memo.marketingActivityAdd"),
    MARKETING_ACTIVITY_EDIT("marketingActivityEdit", "enum.proPermissionAlias.memo.marketingActivityEdit"),
    MARKETING_ACTIVITY_DELETE("marketingActivityDelete", "enum.proPermissionAlias.memo.marketingActivityDelete"),
    MARKETING_ACTIVITY_ON("marketingActivityOn", "enum.proPermissionAlias.memo.marketingActivityOn"),
    MARKETING_ACTIVITY_OFF("marketingActivityOff", "enum.proPermissionAlias.memo.marketingActivityOff"),
    MARKETING_ACTIVITY_EXPORT("marketingActivityExport", "enum.proPermissionAlias.memo.marketingActivityExport"),
    MARKETING_ACTIVITY_VIEW_RECORD("marketingActivityViewRecord", "enum.proPermissionAlias.memo.marketingActivityViewRecord"),
    PROMOTION_ACTIVITY_NEW_ADD("promotionActivityNewAdd", "enum.proPermissionAlias.memo.promotionActivityNewAdd"),
    PROMOTION_ACTIVITY_VIEW("promotionActivityView", "enum.proPermissionAlias.memo.promotionActivityView"),
    PROMOTION_ACTIVITY_ADD("promotionActivityAdd", "enum.proPermissionAlias.memo.promotionActivityAdd"),
    PROMOTION_ACTIVITY_EDIT("promotionActivityEdit", "enum.proPermissionAlias.memo.promotionActivityEdit"),
    PROMOTION_ACTIVITY_DELETE("promotionActivityDelete", "enum.proPermissionAlias.memo.promotionActivityDelete"),
    PROMOTION_ACTIVITY_ON("promotionActivityOn", "enum.proPermissionAlias.memo.promotionActivityOn"),
    PROMOTION_ACTIVITY_OFF("promotionActivityOff", "enum.proPermissionAlias.memo.promotionActivityOff"),
    PROMOTION_ACTIVITY_EXPORT("promotionActivityExport", "enum.proPermissionAlias.memo.promotionActivityExport"),


    DISTRIBUTOR_MANAGEMENT("distributor", "enum.proPermissionAlias.memo.distributor_management"),

    DISTRIBUTOR_PROFILE("distributorManagement", "enum.proPermissionAlias.memo.distributor_profile"),

    DISTRIBUTOR_VIEW("distributorView", "table.pro_permission.name.distributorView"),

    DISTRIBUTOR_ADD("distributorAdd", "table.pro_permission.name.distributorAdd"),

    DISTRIBUTOR_EDIT("distributorEdit", "table.pro_permission.name.distributorEdit"),

    DISTRIBUTOR_DELETE("distributorDelete", "table.pro_permission.name.distributorDelete"),

    DISTRIBUTOR_IMPORT("distributorImport", "table.pro_permission.name.distributorImport"),

    DISTRIBUTOR_EXPORT("distributorExport", "table.pro_permission.name.distributorExport"),

    DISTRIBUTOR_AREA_SETTING("distributorAreaSetting", "table.pro_permission.name.distributorAreaSetting"),

    DISTRIBUTOR_HANDOVER("distributorHandover", "table.pro_permission.name.distributorHandover"),

    DISTRIBUTOR_CONTACT("distributorContact", "enum.proPermissionAlias.memo.distributor_contact"),

    DISTRIBUTOR_CONTACT_VIEW("distributorContactView", "table.pro_permission.name.distributorContactView"),

    DISTRIBUTOR_CONTACT_ADD("distributorContactAdd", "table.pro_permission.name.distributorContactAdd"),

    DISTRIBUTOR_CONTACT_EDIT("distributorContactEdit", "table.pro_permission.name.distributorContactEdit"),

    DISTRIBUTOR_CONTACT_DELETE("distributorContactDelete", "table.pro_permission.name.distributorContactDelete"),

    DISTRIBUTOR_CONTACT_IMPORT("distributorContactImport", "table.pro_permission.name.distributorContactImport"),

    DISTRIBUTOR_CONTACT_EXPORT("distributorContactExport", "table.pro_permission.name.distributorContactExport"),

    DISTRIBUTOR_COMMUNICATE("distributorCommunicate", "enum.proPermissionAlias.memo.distributor_communicate"),

    DISTRIBUTOR_COMMUNICATE_VIEW("distributorCommunicateView", "table.pro_permission.name.distributorCommunicateView"),

    DISTRIBUTOR_COMMUNICATE_ADD("distributorCommunicateAdd", "table.pro_permission.name.distributorCommunicateAdd"),

    DISTRIBUTOR_COMMUNICATE_EDIT("distributorCommunicateEdit", "table.pro_permission.name.distributorCommunicateEdit"),

    DISTRIBUTOR_COMMUNICATE_DELETE("distributorCommunicateDelete", "table.pro_permission.name.distributorCommunicateDelete"),

    DISTRIBUTOR_COMMUNICATE_IMPORT("distributorCommunicateImport", "table.pro_permission.name.distributorCommunicateImport"),

    DISTRIBUTOR_COMMUNICATE_EXPORT("distributorCommunicateExport", "table.pro_permission.name.distributorCommunicateExport"),

    ACCOUNT("account", "enum.proPermissionAlias.memo.account"),

    DISTRIBUTOR_ACCOUNT_VIEW("distributorAccountView", "table.pro_permission.name.distributorAccountView"),

    DISTRIBUTOR_ACCOUNT_ADD("distributorAccountAdd", "table.pro_permission.name.distributorAccountAdd"),

    DISTRIBUTOR_ACCOUNT_EDIT("distributorAccountEdit", "table.pro_permission.name.distributorAccountEdit"),

    DISTRIBUTOR_ACCOUNT_ENABLE("distributorAccountEnable", "table.pro_permission.name.distributorAccountEnable"),

    DISTRIBUTOR_ACCOUNT_IMPORT("distributorAccountImport", "table.pro_permission.name.distributorAccountImport"),

    DISTRIBUTOR_ACCOUNT_EXPORT("distributorAccountExport", "table.pro_permission.name.distributorAccountExport"),

    CREDIT_LIMIT("creditLimit", "enum.proPermissionAlias.memo.credit_limit"),
    CREDIT_LIMIT_VIEW("creditLimitView", "enum.proPermissionAlias.memo.credit_limit_view"),
    CREDIT_LIMIT_ADD("creditLimitAdd", "enum.proPermissionAlias.memo.credit_limit_add"),
    CREDIT_LIMIT_IMPORT("creditLimitImport", "enum.proPermissionAlias.memo.credit_limit_import"),
    CREDIT_LIMIT_EXPORT("creditLimitExport", "enum.proPermissionAlias.memo.credit_limit_export"),
    CREDIT_LIMIT_FREEZE("creditLimitFreeze", "enum.proPermissionAlias.memo.credit_limit_freeze"),
    CREDIT_FIXED_LIMIT("creditFixedLimit", "enum.proPermissionAlias.memo.credit_fixed_limit"),
    CREDIT_FIXED_LIMIT_VIEW("creditFixedLimitView", "enum.proPermissionAlias.memo.credit_fixed_limit_view"),
    CREDIT_FIXED_LIMIT_ADD("creditFixedLimitAdd", "enum.proPermissionAlias.memo.credit_fixed_limit_add"),
    CREDIT_FIXED_LIMIT_IMPORT("creditFixedLimitImport", "enum.proPermissionAlias.memo.credit_fixed_limit_import"),
    CREDIT_FIXED_LIMIT_EXPORT("creditFixedLimitExport", "enum.proPermissionAlias.memo.credit_fixed_limit_export"),
    CREDIT_TEMPORARY_LIMIT("creditTemporaryLimit", "enum.proPermissionAlias.memo.credit_temporary_limit"),
    CREDIT_TEMPORARY_LIMIT_VIEW("creditTemporaryLimitView", "enum.proPermissionAlias.memo.credit_temporary_limit_view"),
    CREDIT_TEMPORARY_LIMIT_ADD("creditTemporaryLimitAdd", "enum.proPermissionAlias.memo.credit_temporary_limit_add"),
    CREDIT_TEMPORARY_LIMIT_IMPORT("creditTemporaryLimitImport", "enum.proPermissionAlias.memo.credit_temporary_limit_import"),
    CREDIT_TEMPORARY_LIMIT_EXPORT("creditTemporaryLimitExport", "enum.proPermissionAlias.memo.credit_temporary_limit_export"),
    CREDIT_TEMPORARY_LIMIT_REVOKE("creditTemporaryLimitRevoke", "enum.proPermissionAlias.memo.credit_temporary_limit_revoke"),
    CREDIT_CARD_BILL("creditCardBill", "enum.proPermissionAlias.memo.credit_card_bill"),
    CREDIT_CARD_BILL_VIEW("creditCardBillView", "enum.proPermissionAlias.memo.credit_card_bill_view"),

    // 产品价目查询
    PRICE_PRODUCT("priceProduct", "table.proPermissionAlias.memo.price_product"),
    PRICE_PRODUCT_VIEW("priceProductView","table.proPermissionAlias.memo.price_product_view"),
    PRICE_PRODUCT_EXPORT("priceProductExport","table.proPermissionAlias.memo.price_product_export"),

    //订货单
    ORDER("order","table.pro_permission.name.order"),
    ORDER_VIEW("orderView","table.pro_permission.name.orderView"),
    ORDER_ADD("orderAdd","table.pro_permission.name.orderAdd"),
    ORDER_EDIT("orderEdit","table.pro_permission.name.orderEdit"),
    ORDER_DELETE("orderDelete","table.pro_permission.name.orderDelete"),
    ORDER_IMPORT("orderImport","table.pro_permission.name.orderImport"),
    ORDER_EXPORT("orderExport","table.pro_permission.name.orderExport"),
    ORDER_CLOSE("orderClose","table.pro_permission.name.orderClose"),
    ORDER_ENABLE("orderEnable","table.pro_permission.name.orderEnable"),
    ORDER_THROUGH("orderThrough","table.pro_permission.name.orderThrough"),
    ORDER_CANCELLATION("orderCancellation","table.pro_permission.name.orderCancellation"),
    ORDER_PRINT("orderPrint","table.pro_permission.name.orderPrint"),
    ORDER_HANDOVER("orderHandover","table.pro_permission.name.orderHandover"),
    ORDER_LOGISTICS_DETAIL("orderLogisticsDetail","table.pro_permission.name.orderLogisticsDetail"),

    //退货单
    RETURN("return","table.pro_permission.name.return"),
    RETURN_VIEW("returnView","table.pro_permission.name.returnView"),
    RETURN_ADD("returnAdd","table.pro_permission.name.returnAdd"),
    RETURN_EDIT("returnEdit","table.pro_permission.name.returnEdit"),
    RETURN_DELETE("returnDelete","table.pro_permission.name.returnDelete"),
    RETURN_EXPORT("returnExport","table.pro_permission.name.returnExport"),
    RETURN_CLOSE("returnClose","table.pro_permission.name.returnClose"),
    RETURN_ENABLE("returnEnable","table.pro_permission.name.returnEnable"),
    RETURN_PRINT("returnPrint","table.pro_permission.name.returnPrint"),
    RETURN_HANDOVER("returnHandover","table.pro_permission.name.returnHandover"),


    /**
     * 待系列
     **/
    PENDING_INSTOCK("pendingInstock","table.pro_permission.name.pendingInstock"),
    PENDING_INSTOCK_VIEW("pendingInstockView","table.pro_permission.name.pendingInstockView"),
    PENDING_INSTOCK_EXPORT("pendingInstockExport","table.pro_permission.name.pendingInstockExport"),

    PENDING_OUTSTOCK("pendingOutstock","table.pro_permission.name.pendingOutstock"),
    PENDING_OUTSTOCK_VIEW("pendingOutstockView","table.pro_permission.name.pendingOutstockView"),
    PENDING_OUTSTOCK_EXPORT("pendingOutstockExport","table.pro_permission.name.pendingOutstockExport"),

    ORDER_ON_PIN("orderOnPin","table.pro_permission.name.orderOnPin"),
    ORDER_ON_PIN_VIEW("orderOnPinView","table.pro_permission.name.orderOnPinView"),
    ORDER_ON_PIN_EXPORT("orderOnPinExport","table.pro_permission.name.orderOnPinExport"),

    SMART_REPLENISHMENT("smartReplenishment","table.pro_permission.name.smartReplenishment"),
    SMART_REPLENISHMENT_VIEW("smartReplenishmentView","table.pro_permission.name.smartReplenishmentView"),
    SMART_REPLENISHMENT_EXPORT("smartReplenishmentExport","table.pro_permission.name.smartReplenishmentExport"),


    //对账单
    STATEMENTLIST("statementList", "enum.proPermissionAlias.memo.statementList"),
    VIEW_STATEMENT("viewStatement","enum.proPermissionAlias.memo.view_statement"),
    DEL_STATEMENT("delStatement","enum.proPermissionAlias.memo.del_statement"),
    REMIND_CONFIRM_STATEMENT("remindConfirmStatement","enum.proPermissionAlias.memo.remind_confirm_statement"),
    VALET_CONFIRM_STATEMENT("valetConfirmStatement","enum.proPermissionAlias.memo.valet_confirm_statement"),
    ARCHIVE_STATEMENT("archiveStatement","enum.proPermissionAlias.memo.archive_statement"),
    REGENERATE_STATEMENT("regenerateStatement","enum.proPermissionAlias.memo.regenerate_statement"),

    LOGISTICS_DETAILS("logisticsDetails","enum.proPermissionAlias.memo.logistics_details"),

    NORMAL_DELIVERY("normalDelivery", "enum.proPermissionAlias.memo.normal_delivery"),

    ELECTRONIC_ORDER_DELIVERY("electronicOrderDelivery", "enum.proPermissionAlias.memo.electronic_order_delivery"),

    CANCELL_DELIVERY("cancelDelivery","enum.proPermissionAlias.memo.cancel_delivery"),

    ELECTRONIC_ORDER_PRINT("electronicOrderPrint","enum.proPermissionAlias.memo.electronic_order_print"),

    ELECTRONIC_ORDER_REPEAT_PRINT("electronicOrderRepeatPrint","enum.proPermissionAlias.memo.electronic_order_repeat_print"),

    /**
     *支付流水
     */
    ONLINE_PAYMENT_FLOW("onlinePaymentFlow", "enum.proPermissionAlias.memo.online_payment_flow"),
    ONLINE_PAYMENT_FLOW_VIEW("onlinePaymentFlowView", "enum.proPermissionAlias.memo.online_payment_flow_view"),
    ONLINE_PAYMENT_FLOW_EXPORT("onlinePaymentFlowExport", "enum.proPermissionAlias.memo.online_payment_flow_export"),
    /**
     * 成本调整单
     */
    COST_ADJUST("costAdjust","table.pro_permission.name.costAdjust"),
    COST_ADJUST_VIEW("costAdjustView","table.pro_permission.name.costAdjustView"),
    COST_ADJUST_ADD("costAdjustAdd","table.pro_permission.name.costAdjustAdd"),
    COST_ADJUST_EDIT("costAdjustEdit","table.pro_permission.name.costAdjustEdit"),
    COST_ADJUST_DELETE("costAdjustDelete","table.pro_permission.name.costAdjustDelete"),
    COST_ADJUST_IMPORT("costAdjustImport","table.pro_permission.name.costAdjustImport"),
    COST_ADJUST_EXPORT("costAdjustExport","table.pro_permission.name.costAdjustExport"),
    COST_ADJUST_FILE_CABINET_VISIBLE("costAdjustFileCabinetVisible","table.pro_permission.name.costAdjustFileCabinetVisible"),
    COST_ADJUST_FILE_CABINET_DELETE("costAdjustFileCabinetDelete","table.pro_permission.name.costAdjustFileCabinetDelete"),
    COST_ADJUST_PRINT("costAdjustPrint","table.pro_permission.name.costAdjustPrint"),
    COST_ADJUST_HANDOVER("costAdjustHandover","table.pro_permission.name.costAdjustHandover"),


    /**
     * 定制页面
     */
    CUSTOM_PAGE("customPage", "enum.proPermissionAlias.memo.custom_page"),
    HOME_PAGE_MANAGE("homePageManage", "enum.proPermissionAlias.memo.home_page_mange"),

    // 联系人组织树＆联系人决策树编辑
    CONTACT_ORGANIZATION_TREE_EDIT("contactOrganizationTreeEdit", "enum.proPermissionAlias.memo.contact_organization_tree_edit"),
    CONTACT_DECISION_TREE_EDIT("contactDecisionTreeEdit", "enum.proPermissionAlias.memo.contact_decision_tree_edit"),
    //数据集
    DATA_SET("dataSet", "enum.proPermissionAlias.memo.data_set"),

    // 归档权限
    CUSTOMER_ARICHIVE("customerArchive","table.pro_permission.name.customerArchive"),
    OPPORTUNITY_ARCHIVE("opportunityArchive","table.pro_permission.name.opportunityArchive"),
    CONTRACT_ARCHIVE("contractArchive","table.pro_permission.name.contractArchive"),
    CLUE_ARCHIVE("clueArchive","table.pro_permission.name.clueArchive"),

    UNKNOWN("unknown", "enum.proPermissionAlias.memo.unknown"),

    /**
     *精线索
     */
    FINE_CLUE("fineClue", "enum.proPermissionAlias.memo.fineClue"),

    FINE_CLUE_VIEW("fineClueView", "enum.proPermissionAlias.memo.fine_clue_view"),

    FINE_CLUE_EDIT("fineClueEdit", "enum.proPermissionAlias.memo.fine_clue_edit"),

    /**
     *知识库
     */
    KNOWLEDGE_BASE("knowledgeBase", "enum.proPermissionAlias.memo.knowledge_base"),

    KNOWLEDGE_BASE_VIEW("knowledgeBaseView", "enum.proPermissionAlias.memo.knowledge_base_view"),

    KNOWLEDGE_BASE_ADD("knowledgeBaseAdd", "enum.proPermissionAlias.memo.knowledge_base_add"),

    KNOWLEDGE_BASE_EDIT("knowledgeBaseEdit", "enum.proPermissionAlias.memo.knowledge_base_edit"),

    KNOWLEDGE_BASE_DELETE("knowledgeBaseDelete", "enum.proPermissionAlias.memo.knowledge_base_delete"),

    //运营标签库 管理中心下的权限
    TAG_SET("tagSet", "enum.proPermissionAlias.memo.tag_set"),

    //AI销小帮 管理中心下的权限
    AI_CENTER("aiCenter", "enum.proPermissionAlias.memo.aiCenter"),

    /**
     * 合同比对
     */
    CONTRACT_COMPARE("contractCompare","enum.proPermissionAlias.memo.contractCompare"),
    CONTRACT_COMPARE_RESULT("contractCompareResult","enum.proPermissionAlias.memo.contractCompareResult"),
    CONTRACT_COMPARE_RESULT_VIEW("contractCompareView","enum.proPermissionAlias.memo.contractCompareView"),
    CONTRACT_COMPARE_RESULT_ADD("contractCompareAdd","enum.proPermissionAlias.memo.contractCompareAdd"),
    CONTRACT_COMPARE_MANAGE("contractCompareManage","enum.proPermissionAlias.memo.contractCompareManage"),
    CONTRACT_COMPARE_MANAGE_VIEW("contractCompareManageView","enum.proPermissionAlias.memo.contractCompareManageView"),
    CONTRACT_COMPARE_MANAGE_EDIT("contractCompareManageEdit","enum.proPermissionAlias.memo.contractCompareManageEdit"),

    /**
     * 新增一些移交按钮权限，之前有些业务的按钮权限集合没有放在一起，我这边移交统一放在一起了，莫怪
     */
    CONTACT_HANDOVER("contactHandover", "enum.proPermissionAlias.memo.contact_handover"),
    PAYMENT_HANDOVER("paymentHandover", "enum.proPermissionAlias.memo.payment_handover"),
    PAYMENT_SHEET_HANDOVER("paymentSheetHandover", "enum.proPermissionAlias.memo.payment_sheet_handover"),
    PAY_PLAN_HANDOVER("payPlanHandover", "enum.proPermissionAlias.memo.pay_plan_handover"),
    PAY_SHEET_HANDOVER("paySheetHandover", "enum.proPermissionAlias.memo.pay_sheet_handover"),
    SUPPLIER_CONTACT_HANDOVER("supplierContactHandover", "enum.proPermissionAlias.memo.supplier_contact_handover"),
    /**
     * 公海高级模式权限
     */
    CUSTOMER_SWITCH_PUBLIC_GROUP("customerSwitchPublicGroup","enum.proPermissionAlias.memo.customer_switch_public_group"),

    CLUE_SWITCH_PUBLIC_GROUP("clueSwitchPublicGroup","enum.proPermissionAlias.memo.clue_switch_public_group"),

    SWITCH_PUBLIC_MODE("switchPublicMode","enum.proPermissionAlias.memo.switch_public_mode"),

    CUSTOMER_PUBLIC_SET("customerPublicSet","enum.proPermissionAlias.memo.customer_public_set"),

    CLUE_PUBLIC_SET("cluePublicSet","enum.proPermissionAlias.memo.clue_public_set"),

    /**
     * 新工单中心
     */
    WORK_ORDER_V2_CENTER("workOrderV2Center", "table.pro_permission.name.workOrderV2Center"),
    /**
     * 工单权限
     **/
    WORK_ORDER_V2("workOrderV2","table.pro_permission.name.workOrderV2"),
    WORK_ORDER_V2_ALL("workOrderV2All","table.pro_permission.name.workOrderV2All"),
    WORK_ORDER_V2_VIEW("workOrderV2View","table.pro_permission.name.workOrderV2View"),
    WORK_ORDER_V2_ADD("workOrderV2Add","table.pro_permission.name.workOrderV2Add"),
    WORK_ORDER_V2_EDIT("workOrderV2Edit","table.pro_permission.name.workOrderV2Edit"),
    WORK_ORDER_V2_DELETE("workOrderV2Delete","table.pro_permission.name.workOrderV2Delete"),
    WORK_ORDER_V2_ALLOT("workOrderV2Allot","table.pro_permission.name.workOrderV2Allot"),
    WORK_ORDER_V2_HANDOVER("workOrderV2Handover","table.pro_permission.name.workOrderV2Handover"),
    WORK_ORDER_V2_CANCEL("workOrderV2Cancel","table.pro_permission.name.workOrderV2Cancel"),
    WORK_ORDER_V2_IMPORT("workOrderV2Import","table.pro_permission.name.workOrderV2Import"),
    WORK_ORDER_V2_EXPORT("workOrderV2Export","table.pro_permission.name.workOrderV2Export"),
    WORK_ORDER_V2_PRINT("workOrderV2Print","table.pro_permission.name.workOrderV2Print"),
    WORK_ORDER_V2_ACCOUNTS("workOrderV2Accounts","table.pro_permission.name.workOrderV2Accounts"),
    WORK_ORDER_V2_VISIT("workOrderV2Visit","table.pro_permission.name.workOrderV2Visit"),
    WORK_ORDER_V2_ASSIGNED("workOrderV2Assigned","table.pro_permission.name.workOrderV2Assigned"),
    WORK_ORDER_V2_POOL_VIEW("workOrderV2PoolView","table.pro_permission.name.workOrderV2PoolView"),
    WORK_ORDER_V2_POOL_RETURN("workOrderV2PoolReturn","table.pro_permission.name.workOrderV2PoolReturn"),
    WORK_ORDER_V2_POOL_CHANGE("workOrderV2PoolChange","table.pro_permission.name.workOrderV2PoolChange"),
    WORK_ORDER_V2_RESTART("workOrderV2Restart","table.pro_permission.name.workOrderV2Restart"),
    WORK_ORDER_V2_FILE_CABINET_VISIBLE("workOrderV2FileCabinetVisible","table.pro_permission.name.workOrderV2FileCabinetVisible"),
    WORK_ORDER_V2_FILE_CABINET_DELETE("workOrderV2FileCabinetDelete","table.pro_permission.name.workOrderV2FileCabinetDelete"),
    WORK_ORDER_V2_ROLLBACK("workOrderV2Rollback","table.pro_permission.name.workOrderV2Rollback"),
    /**
     * 回执单
     */
    RECEIPT_ORDER("receiptOrder", "table.pro_permission.name.receipt_order"),
    RECEIPT_ORDER_VIEW("receiptOrderView", "table.pro_permission.name.receipt_order_view"),
    RECEIPT_ORDER_EDIT("receiptOrderEdit", "table.pro_permission.name.receipt_order_edit"),
    RECEIPT_ORDER_DELETE("receiptOrderDelete","table.pro_permission.name.receipt_order_delete"),
    RECEIPT_ORDER_EXPORT("receiptOrderExport", "table.pro_permission.name.receipt_order_export"),
    RECEIPT_ORDER_PRINT("receiptOrderPrint", "table.pro_permission.name.receipt_order_print"),
    RECEIPT_ORDER_FILE_CABINET_VISIBLE("receiptFileCabinetVisible","table.pro_permission.name.receipt_order_file_cabinet_visible"),
    RECEIPT_ORDER_FILE_CABINET_DELETE("receiptFileCabinetDelete","table.pro_permission.name.receipt_order_file_cabinet_delete"),
    RECEIPT_ORDER_HANDOVER("receiptOrderHandover","table.pro_permission.name.receipt_order_handover"),
    /**
     * 服务项目
     */
    SERVICE_PROJECT("serviceProject", "enum.proPermissionAlias.memo.service_project"),
    SERVICE_PROJECT_VIEW("serviceProjectView", "enum.proPermissionAlias.memo.service_project_view"),
    SERVICE_PROJECT_ADD("serviceProjectAdd", "enum.proPermissionAlias.memo.service_project_add"),
    SERVICE_PROJECT_UPDATE("serviceProjectUpdate", "enum.proPermissionAlias.memo.service_project_update"),
    SERVICE_PROJECT_FILE_CABINET_VISIBLE("serviceFileCabinetVisible", "enum.proPermissionAlias.memo.serviceProjectFileCabinetVisible"),
    SERVICE_PROJECT_FILE_CABINET_DELETE("serviceFileCabinetDelete", "enum.proPermissionAlias.memo.serviceProjectFileCabinetDelete"),
    SERVICE_PROJECT_DELETE("serviceProjectDelete", "enum.proPermissionAlias.memo.service_project_delete"),
    SERVICE_PROJECT_ONLINE("serviceProjectOnline", "enum.proPermissionAlias.memo.service_project_online"),
    SERVICE_PROJECT_CATEGORY_UPDATE("serviceProjectCategoryUpdate", "enum.proPermissionAlias.memo.service_project_category_update"),
    SERVICE_PROJECT_IMPORT("serviceProjectImport", "enum.proPermissionAlias.memo.service_project_import"),
    SERVICE_PROJECT_EXPORT("serviceProjectExport", "enum.proPermissionAlias.memo.service_project_export"),
    /**
     * SLA日志
     */
    SLA_LOG("slaLog", "table.pro_permission.name.sla_log"),
    SLA_LOG_VIEW("slaLogView", "table.pro_permission.name.sla_log_view"),
    SLA_LOG_EXPORT("slaLogExport", "table.pro_permission.name.sla_log_export"),
    /**
     * 工单中心
     */
    WORK_ORDER_V2_CENTER_SET("workOrderV2CenterSet", "table.pro_permission.name.workOrderV2CenterSet"),
    WORK_ORDER_V2_TEMPLATE("workOrderV2Template", "table.pro_permission.name.workOrderV2Template"),
    SLA_RULE("slaRule", "table.pro_permission.name.slaRule"),
    WORK_ORDER_V2_POOL("workOrderV2Pool", "table.pro_permission.name.workOrderV2Pool"),
    //==========竞争对手=========
    COMPETITOR("competitor","table.pro_permission.name.competitor"),
    COMPETITOR_VIEW("competitorView","table.pro_permission.name.competitorView"),
    COMPETITOR_ADD("competitorAdd","table.pro_permission.name.competitorAdd"),
    COMPETITOR_EDIT("competitorEdit","table.pro_permission.name.competitorEdit"),
    COMPETITOR_DELETE("competitorDelete","table.pro_permission.name.competitorDelete"),
    COMPETITOR_PRINT("competitorPrint","table.pro_permission.name.competitorPrint"),
    COMPETITOR_IMPORT("competitorImport","table.pro_permission.name.competitorImport"),
    COMPETITOR_EXPORT("competitorExport", "table.pro_permission.name.competitorExport"),
    COMPETITOR_FILE_CABINET_VISIBLE("competitorFileCabinetVisible","table.pro_permission.name.competitorFileCabinetVisible"),
    COMPETITOR_FILE_CABINET_DELETE("competitorFileCabinetDelete","table.pro_permission.name.competitorFileCabinetDelete"),

    //共享权限
    SHARE_PERMISSION("sharePermission","table.pro_permission.name.sharePermission"),

    // wps在线编辑
    ONLINE_EDITOR_MANAGER("onlineEditorManage", "table.pro_permission.name.onlineEditorManage"),
    ONLINE_EDITOR_MANAGER_VIEW("onlineEditorManageView", "table.pro_permission.name.onlineEditorManageView"),
    ONLINE_EDITOR_MANAGER_ADD("onlineEditorManageAdd", "table.pro_permission.name.onlineEditorManageAdd"),
    ONLINE_EDITOR_MANAGER_ENABLE("onlineEditorManageEnable", "table.pro_permission.name.onlineEditorManageEnable"),
    ONLINE_EDITOR_MANAGER_DELETE("onlineEditorManageDelete", "table.pro_permission.name.onlineEditorManageDelete"),
    ONLINE_EDITOR_MANAGER_EDIT("onlineEditorManageEdit", "table.pro_permission.name.onlineEditorManageEdit"),
    CONTRACT_BASE("contractBase", "table.pro_permission.name.contractBaseView"),
    CONTRACT_BASE_VIEW("contractBaseView", "table.pro_permission.name.contractBaseView"),
    ;
    private String alias;

    private String memo;

    ProPermissionAliasEnum(String alias, String memo) {
        this.alias = alias;
        this.memo = memo;
    }

    public static ProPermissionAliasEnum getByAlias(String alias) {
        for (ProPermissionAliasEnum item : values()) {
            if (Objects.equals(item.getAlias(), alias)) {
                return item;
            }
        }
        return null;
    }

    public String getMemo() {
        return I18nMessageUtil.getMessage(memo);
    }

    public static List<String> getFormPermissionAlias() {
        List<String> alias = new ArrayList<>(Arrays.asList(CUSTOMER_MANAGEMENT.getAlias(), CONTACT.getAlias(), CUSTOMER_COMMUNICATE.getAlias(), COMMUNICATE_PLAN.getAlias(), SALES_OPPORTUNITY.getAlias(), CONTRACT.getAlias(), SIGN_IN.getAlias(), WORK_REPORT.getAlias(), QUOTATION.getAlias(), REFUND.getAlias(), SUPPLIER.getAlias(), SUPPLIER_CONTACT.getAlias(), SUPPLIER_COMMUNICATE.getAlias(), PURCHASE.getAlias(), RETURNED_PURCHASE.getAlias(), ASSEMBLE.getAlias(), INSTOCK.getAlias(), PURCHASE_INSTOCK.getAlias(), REFUND_INSTOCK.getAlias(), PRODUCTION_INSTOCK.getAlias(), RETURNED_MATERIEL_INSTOCK.getAlias(), OUTSTOCK.getAlias(), CONTRACT_OUTSTOCK.getAlias(), RETURNED_PURCHASE_OUTSTOCK.getAlias(), PRODUCTION_MATERIEL_OUTSTOCK.getAlias(), WORK_ORDER_OUTSTOCK.getAlias(), INVENTORY.getAlias(), TRANSFER.getAlias(), WAREHOUSE.getAlias(), STOCK_SEARCH.getAlias(), BOM_BILL.getAlias(), PRODUCTION_ORDER.getAlias(), PRODUCT.getAlias(), PAYMENT.getAlias(), PAYMENT_SHEET.getAlias(), PAY_PLAN.getAlias(), INVOICE.getAlias(), WORK_ORDER.getAlias(), ORGANIZATION_SET.getAlias(), PURCHASE_INVOICE.getAlias(), PAY_SHEET.getAlias(), PAYMENT_TASK.getAlias(), CREDIT_LIMIT.getAlias(), CREDIT_FIXED_LIMIT.getAlias(), CREDIT_TEMPORARY_LIMIT.getAlias(), CREDIT_CARD_BILL.getAlias(), DISTRIBUTOR_PROFILE.getAlias(), ACCOUNT.getAlias(), DISTRIBUTOR_COMMUNICATE.getAlias(), DISTRIBUTOR_CONTACT.getAlias(), ORDER.getAlias(), RETURN.getAlias(), MARKET_ACTIVITY.getAlias(), CLUE.getAlias()));
        alias.add(STATEMENTLIST.getAlias());
        alias.add(OTHER_INCOME.getAlias());
        alias.add(FUND_TRANSFER.getAlias());
        alias.add(OTHER_EXPENSE.getAlias());
        alias.add(MARKET_MANAGEMENT.getAlias());
        alias.add(MARKETING_MANAGEMENT.getAlias());
        alias.add(ORDER_CENTER.getAlias());
        alias.add(DISTRIBUTOR_MANAGEMENT.getAlias());
        alias.add(WORK_ORDER_V2.getAlias());
        alias.add(RECEIPT_ORDER.getAlias());
        alias.add(SLA_LOG.getAlias());
        alias.add(SERVICE_PROJECT.getAlias());
        alias.add(COMPETITOR.getAlias());
        alias.add(CONTRACT_COMPARE_RESULT.getAlias());
        return alias;
    }

    /**
     * Description: 获取应用级权限alias
     * @author 魏荣杰
     * @date 2020/3/2 3:43 下午
     */
    public static List<String> getAppPermissionAlias() {
        List<String> alias = new ArrayList<>(Arrays.asList(CRM.getAlias(), JXC.getAlias(), PRODUCT_MANAGEMENT.getAlias(), FUND_MANAGEMENT.getAlias(), WORK_ORDER_APP.getAlias(), CHART_CENTER.getAlias(), PROCESS_APP.getAlias(), MANAGE_CENTER.getAlias(),MARKETING_MANAGEMENT.getAlias(), SMS_APP.getAlias(), DISTRIBUTOR_MANAGEMENT.getAlias(), ORDER_CENTER.getAlias(), MARKET_MANAGEMENT.getAlias(), WORK_ORDER_V2_CENTER.getAlias()));
        return alias;
    }

    /**
     * Description: 判断该表单权限下有没有数据权限
     * @param alias
     * @return boolean
     * @throws
     * @author 魏荣杰
     * @date 2020/5/14 11:16 上午
     */
    public static boolean checkNoDataPermissionByAlias(String alias) {
        List<String> noDataPermissionAlias = Arrays.asList(SIMULATED_PRODUCTION.getAlias(), CHART.getAlias(), BI_ADVANCED_ANALYSIS.getAlias(), PROCESS.getAlias(), APPLICATION_SET.getAlias(),
                FORM_SET.getAlias(), PROCESS_SET.getAlias(), PUSH_SET.getAlias(), PRINT_TEMPLATE.getAlias(),WORK_ORDER_SET.getAlias(), SMS_SET.getAlias(),
                WORK_ORDER_SET.getAlias(), OTHER_SET.getAlias(), LOG_VIEW.getAlias(), OMS_SET.getAlias(), SOUKE.getAlias(), MODULE.getAlias(), SMS.getAlias(), AI_ASSISTANT.getAlias(),
                ESIGN_SET.getAlias(), SERVICE_REGISTER.getAlias(), DEVELOPER.getAlias(), DATA_CONNECTION.getAlias(),DATA_CENTER.getAlias(),REIMBURSEMENT_FORM.getAlias(),EXPENSE.getAlias(),FINE_CLUE.getAlias(),CUSTOM_PAGE.getAlias(),KNOWLEDGE_BASE.getAlias(),TAG_SET.getAlias(),
                PENDING_INSTOCK.getAlias(),PENDING_OUTSTOCK.getAlias(),ORDER_ON_PIN.getAlias(),SMART_REPLENISHMENT.getAlias(),CONTRACT_COMPARE_MANAGE.getAlias(), DATA_SET.getAlias(), WORK_ORDER_V2_CENTER_SET.getAlias(),ONLINE_EDITOR_MANAGER.getAlias(),CONTRACT_BASE.getAlias());
        if (noDataPermissionAlias.contains(alias)) {
            return true;
        } else {
            return false;
        }
    }
    /**
     * Description: 根据alias获取businessType
     * @return java.lang.Integer
     * @author 魏荣杰
     * @date 2020/2/26 10:48 上午
     */
    public static Integer getbBusinessTypeByAlias(String alias) {
        ProPermissionAliasEnum permissionAliasEnum = getByAlias(alias);
        if (Objects.isNull(permissionAliasEnum)) {
            return -1;
        }
        switch (permissionAliasEnum) {
            //CRM
            case CUSTOMER_MANAGEMENT:
            case CUSTOMER_VIEW:
            case CUSTOMER_ADD:
            case CUSTOMER_UPDATE:
            case CUSTOMER_DELETE:
            case CUSTOMER_DISTRIBUTION:
            case CUSTOMER_HANDOVER:
            case CUSTOMER_DUPLICATE:
            case CUSTOMER_IMPORT:
            case CUSTOMER_EXPORT:
            case BUSINESS_CARD:
            case CUSTOMER_PUBLIC:
            case CUSTOMER_RECYCLE:
            case CUSTOMER_NEARBY:
            case CUSTOMER_GAIN:
            case CUSTOMER_BACK:
            case CUSTOMER_REPEAT_JOIN_TEAM:
                return XbbRefTypeEnum.CUSTOMER_MANAGEMENT.getCode();
            case CONTACT:
            case CONTACT_VIEW:
            case CONTACT_ADD:
            case CONTACT_UPDATE:
            case CONTACT_DELETE:
                return XbbRefTypeEnum.CONTACT.getCode();
            case CUSTOMER_COMMUNICATE:
            case CUSTOMER_COMMUNICATE_VIEW:
            case CUSTOMER_COMMUNICATE_ADD:
            case CUSTOMER_COMMUNICATE_UPDATE:
            case CUSTOMER_COMMUNICATE_DELETE:
            case CUSTOMER_COMMUNICATE_IMPORT:
            case CUSTOMER_COMMUNICATE_EXPORT:
                return XbbRefTypeEnum.CUSTOMER_COMMUNICATE.getCode();
            case COMMUNICATE_PLAN:
            case COMMUNICATE_PLAN_VIEW:
            case COMMUNICATE_PLAN_ADD:
            case COMMUNICATE_PLAN_UPDATE:
            case COMMUNICATE_PLAN_DELETE:
            case COMMUNICATE_PLAN_EXPORT:
                return XbbRefTypeEnum.COMMUNICATE_PLAN.getCode();
            case SALES_OPPORTUNITY:
            case OPPORTUNITY_VIEW:
            case OPPORTUNITY_ADD:
            case OPPORTUNITY_UPDATE:
            case OPPORTUNITY_DELETE:
            case OPPORTUNITY_PRINT:
            case OPPORTUNITY_IMPORT:
            case OPPORTUNITY_EXPORT:
                return XbbRefTypeEnum.SALES_OPPORTUNITY.getCode();
            case CONTRACT:
            case CONTRACT_VIEW:
            case CONTRACT_ADD:
            case CONTRACT_UPDATE:
            case CONTRACT_DELETE:
            case CONTRACT_IMPORT:
            case CONTRACT_EXPORT:
            case CONTRACT_PRINT:
                return XbbRefTypeEnum.CONTRACT.getCode();
            case SIGN_IN:
            case SIGN_IN_VIEW:
            case SIGN_IN_STATISTIC:
            case SIGN_IN_EXPORT:
                return XbbRefTypeEnum.SIGNIN.getCode();
            case WORK_REPORT:
            case WORK_REPORT_VIEW:
            case WORK_REPORT_ADD:
            case WORK_REPORT_UPDATE:
            case WORK_REPORT_DELETE:
            case WORK_REPORT_EXPORT:
            case WORK_REPORT_PRINT:
            case WORK_REPORT_STATISTIC:
                return XbbRefTypeEnum.WORK_REPORT.getCode();
            case QUOTATION:
            case QUOTATION_VIEW:
            case QUOTATION_ADD:
            case QUOTATION_UPDATE:
            case QUOTATION_DELETE:
            case QUOTATION_IMPORT:
            case QUOTATION_EXPORT:
            case QUOTATION_PRINT:
            case QUOTATION_NEW_VERSION:
                return XbbRefTypeEnum.QUOTATION.getCode();
            case REFUND:
            case REFUND_VIEW:
            case REFUND_ADD:
            case REFUND_EDIT:
            case REFUND_DEL:
            case REFUND_IMPORT:
            case REFUND_EXPORT:
            case REFUND_PRINT:
                return XbbRefTypeEnum.REFUND.getCode();
            // jxc
            case SUPPLIER:
            case SUPPLIER_VIEW:
            case SUPPLIER_ADD:
            case SUPPLIER_UPDATE:
            case SUPPLIER_DELETE:
            case SUPPLIER_IMPORT:
            case SUPPLIER_EXPORT:
                return XbbRefTypeEnum.SUPPLIER.getCode();
            case SUPPLIER_CONTACT:
            case SUPPLIER_CONTACT_VIEW:
            case SUPPLIER_CONTACT_ADD:
            case SUPPLIER_CONTACT_UPDATE:
            case SUPPLIER_CONTACT_DELETE:
            case SUPPLIER_CONTACT_IMPORT:
            case SUPPLIER_CONTACT_EXPORT:
                return XbbRefTypeEnum.SUPPLIER_CONTACT.getCode();
            case SUPPLIER_COMMUNICATE:
            case SUPPLIER_COMMUNICATE_VIEW:
            case SUPPLIER_COMMUNICATE_ADD:
            case SUPPLIER_COMMUNICATE_UPDATE:
            case SUPPLIER_COMMUNICATE_DELETE:
            case SUPPLIER_COMMUNICATE_IMPORT:
            case SUPPLIER_COMMUNICATE_EXPORT:
                return XbbRefTypeEnum.SUPPLIER_COMMUNICATE.getCode();
            case PURCHASE:
            case PURCHASE_VIEW:
            case PURCHASE_ADD:
            case PURCHASE_UPDATE:
            case PURCHASE_DELETE:
            case PURCHASE_IMPORT:
            case PURCHASE_EXPORT:
            case PURCHASE_PRINT:
                return XbbRefTypeEnum.PURCHASE.getCode();
            case RETURNED_PURCHASE:
            case RETURN_PURCHASE_VIEW:
            case RETURN_PURCHASE_ADD:
            case RETURN_PURCHASE_UPDATE:
            case RETURN_PURCHASE_DELETE:
            case RETURN_PURCHASE_IMPORT:
            case RETURN_PURCHASE_EXPORT:
            case RETURN_PURCHASE_PRINT:
                return XbbRefTypeEnum.RETURNED_PURCHASE.getCode();
            case ASSEMBLE:
            case ASSEMBLE_ADD:
            case ASSEMBLE_UPDATE:
            case ASSEMBLE_DELETE:
            case ASSEMBLE_VIEW:
            case ASSEMBLE_IMPORT:
            case ASSEMBLE_EXPORT:
            case ASSEMBLE_PRINT:
                return XbbRefTypeEnum.ASSEMBLE.getCode();
            case INSTOCK:
            case INSTOCK_VIEW:
            case INSTOCK_ADD:
            case INSTOCK_UPDATE:
            case INSTOCK_DELETE:
            case INSTOCK_IMPORT:
            case INSTOCK_EXPORT:
            case INSTOCK_PRINT:
                return XbbRefTypeEnum.INSTOCK.getCode();
            case OUTSTOCK:
            case OUTSTOCK_VIEW:
            case OUTSTOCK_ADD:
            case OUTSTOCK_UPDATE:
            case OUTSTOCK_DELETE:
            case OUTSTOCK_IMPORT:
            case OUTSTOCK_EXPORT:
            case OUTSTOCK_PRINT:
                return XbbRefTypeEnum.OUTSTOCK.getCode();
            case INVENTORY:
            case INVENTORY_VIEW:
            case INVENTORY_ADD:
            case INVENTORY_UPDATE:
            case INVENTORY_DELETE:
            case INVENTORY_IMPORT:
            case INVENTORY_EXPORT:
            case INVENTORY_PRINT:
                return XbbRefTypeEnum.INVENTORY.getCode();
            case TRANSFER:
            case TRANSFER_VIEW:
            case TRANSFER_ADD:
            case TRANSFER_UPDATE:
            case TRANSFER_DELETE:
            case TRANSFER_IMPORT:
            case TRANSFER_EXPORT:
            case TRANSFER_PRINT:
                return XbbRefTypeEnum.TRANSFER.getCode();
            case WAREHOUSE:
            case WAREHOUSE_VIEW:
            case WAREHOUSE_ADD:
            case WAREHOUSE_UPDATE:
            case WAREHOUSE_DELETE:
                return XbbRefTypeEnum.WAREHOUSE.getCode();
            case STOCK_SEARCH:
            case STOCK_SEARCH_VIEW:
            case STOCK_SEARCH_EXPORT:
                return XbbRefTypeEnum.STOCK_SEARCH.getCode();
            case BOM_BILL:
            case BOM_BILL_VIEW:
            case BOM_BILL_ADD:
            case BOM_BILL_UPDATE:
            case BOM_BILL_DELETE:
            case BOM_BILL_IMPORT:
            case BOM_BILL_EXPORT:
            case BOM_BILL_PRINT:
                return XbbRefTypeEnum.BOM_BILL.getCode();
            case PRODUCTION_ORDER:
            case PRODUCTION_ORDER_VIEW:
            case PRODUCTION_ORDER_ADD:
            case PRODUCTION_ORDER_UPDATE:
            case PRODUCTION_ORDER_DELETE:
            case PRODUCTION_ORDER_IMPORT:
            case PRODUCTION_ORDER_EXPORT:
            case PRODUCTION_ORDER_PRINT:
                return XbbRefTypeEnum.PRODUCTION_ORDER.getCode();
            case PRODUCT:
            case PRODUCT_VIEW:
            case PRODUCT_ADD:
            case PRODUCT_UPDATE:
            case PRODUCT_DELETE:
            case PRODUCT_IMPORT:
            case PRODUCT_EXPORT:
            case PRODUCT_ONLINE:
            case PRODUCT_CATEGORY_UPDATE:
                return XbbRefTypeEnum.PRODUCT.getCode();
            case PAYMENT:
            case PAYMENT_VIEW:
            case PAYMENT_ADD:
            case PAYMENT_UPDATE:
            case PAYMENT_DELETE:
            case PAYMENT_EXPORT:
            case PAYMENT_IMPORT:
            case PAYMENT_PRINT:
            case PAYMENT_WRITE_OFF:
                return XbbRefTypeEnum.PAYMENT.getCode();
            case PAYMENT_SHEET:
            case PAYMENT_SHEET_VIEW:
            case PAYMENT_SHEET_ADD:
            case PAYMENT_SHEET_UPDATE:
            case PAYMENT_SHEET_DELETE:
            case PAYMENT_SHEET_PRINT:
            case PAYMENT_SHEET_BAD:
            case PAYMENT_SHEET_RED:
            case PAYMENT_SHEET_IMPORT:
            case PAYMENT_SHEET_EXPORT:
            case PAYMENT_BAD:
                return XbbRefTypeEnum.PAYMENT_SHEET.getCode();
            case PAY_PLAN:
            case PAY_PLAN_VIEW:
            case PAY_PLAN_ADD:
            case PAY_PLAN_UPDATE:
            case PAY_PLAN_DELETE:
            case PAY_PLAN_EXPORT:
                return XbbRefTypeEnum.PAY_PLAN.getCode();
            case INVOICE:
            case INVOICE_VIEW:
            case INVOICE_ADD:
            case INVOICE_UPDATE:
            case INVOICE_DELETE:
            case INVOICE_IMPORT:
            case INVOICE_EXPORT:
            case INVOICE_RED:
            case INVOICE_CANCEL:
            case CUSTOMER_INVOICE_UPDATE:
            case INVOICE_LINK_CONTRACT:
            case CUSTOMER_INVOICE_EXPRESS:
            case INVOICE_PRINT:
                return XbbRefTypeEnum.INVOICE.getCode();
            case WORK_ORDER_APP:
            case WORK_ORDER:
            case WORK_ORDER_VIEW:
            case WORK_ORDER_ADD:
            case WORK_ORDER_UPDATE:
            case WORK_ORDER_DELETE:
            case WORK_ORDER_EXPORT:
            case WORK_ORDER_RATE:
                return XbbRefTypeEnum.WORK_ORDER.getCode();
            case CHART_CENTER:
            case CHART:
            case CHART_VIEW:
            case CHART_ADD:
            case CHART_UPDATE:
            case CHART_EXPORT:
                return -1;
            case PROCESS_APP:
            case PROCESS:
            case PROCESS_VIEW:
            case PROCESS_DELETE:
            case PROCESS_COMMENT:
                return XbbRefTypeEnum.APPROVAL.getCode();
            case ONLINE_PAYMENT_FLOW_EXPORT:
                return XbbRefTypeEnum.ONLINE_PAYMENT_FLOW.getCode();

            case WORK_ORDER_TEMPLATE:
            case WORK_ORDER_PERSON:
            case CRM:
            case PRODUCT_MANAGEMENT:
            case ORGANIZATION:
            case PERFORMANCE_OBJECT_SET:
            case ROLE_PERMISSION:
            case PUBLIC_SET:
            case LOG_VIEW:
            case PUSH_SET:
            case SMS:
            case SMS_VIEW:
            case SMS_SET:
            case SMS_SEND:
            case SIGN_IN_SET:
            case SFA:
            case FUND_MANAGEMENT:
            case MODULE_CENTER:
            case PK_SET:
            case WORK_REPORT_SET:
            case PUBLIC_GROUP_SET:
            case PRINT_TEMPLATE:
            case SIMULATED_PRODUCTION:
            case PERFORMANCE_SET:
            case JXC:
            case MANAGE_CENTER:
            case APPLICATION_SET:
            case APPLICATION_SET_VIEW:
            case APPLICATION_ADD:
            case APPLICATION_UPDATE:
            case APPLICATION_DELETE:
            case FORM_SET:
            case FORM_SET_VIEW:
            case FORM_SET_ADD:
            case FORM_SET_UPDATE:
            case FORM_SET_DELETE:
            case PROCESS_SET:
            case PROCESS_SET_VIEW:
            case PROCESS_SET_OPEN:
            case PROCESS_SET_UPDATE:
            case PROCESS_SET_CLOSE:
            case ORGANIZATION_SET:
            case PUSH_SET_VIEW:
            case PUSH_SET_UPDATE:
            case PRINT_TEMPLATE_VIEW:
            case PRINT_TEMPLATE_ADD:
            case PRINT_TEMPLATE_UPDATE:
            case PRINT_TEMPLATE_DELETE:
//            case MENU_SET:
            case MENU_SET_VIEW:
            case MENU_SET_UPDATE:
            case WORK_ORDER_SET:
            case SMS_SET_VIEW:
            case SMS_SET_UPDATE:
            case SMS_RECHARGE:
            case OTHER_SET:
            case MODULE:
            case MODULE_VIEW:
            case MODULE_INSTALL:
            case SMS_APP:
            case OBJECTIVE_IMPORT:
            case SOUKE_VIEW:
            case SOUKE_EDIT:
            case AI_ASSISTANT:
            case UNKNOWN:
            default:
                return -1;
        }
    }

    public String getI18nMemo() {
        return memo;
    }

    /**
     * 旗舰版权限
     * @return java.util.List<java.lang.String>
     * @author zcp
     * @since v1.0
     * @version v1.0
     */
    public static List<String> ultimatePermision(){
        return Arrays.asList(DATA_CENTER.alias, HOME_PAGE_MANAGE.alias, BI_ADVANCED_ANALYSIS.alias, COMPETITOR.alias, DATA_SET.alias, CHART_LINKAGE.alias,
                OPPORTUNITY_DUPLICATE.alias,OPPORTUNITY_REPEAT_JOIN_TEAM.alias,SWITCH_PUBLIC_MODE.alias, SHARE_PERMISSION.alias);
    }
}
